Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.x: archetype security=true&security.atn=jwt does not work #7932

Closed
romain-grecourt opened this issue Nov 2, 2023 Discussed in #7930 · 0 comments · Fixed by #7947
Closed

4.x: archetype security=true&security.atn=jwt does not work #7932

romain-grecourt opened this issue Nov 2, 2023 Discussed in #7930 · 0 comments · Fixed by #7947
Assignees
Labels
4.x Version 4.x archetypes bug Something isn't working
Milestone

Comments

@romain-grecourt
Copy link
Contributor

Discussed in #7930

Originally posted by sixwaaaay November 2, 2023
the project generated by helidon starter doesn't work.
there are only 'signing-jwk.json', 'verifying-jwk.json' and a code snippet in 'application.yaml'.
there is no jwt example in readme.md of generated project.

server:
  port: 8080
  host: 0.0.0.0
  features:
    
    security:
      defaults:
        authenticate: true
      web-server:
        # protected paths on the web server - do not include paths served by Jersey, as those are protected directly
        paths:

security:
  config.require-encryption: false
  properties:
  providers:
    - jwt:
        atn-token:
          jwk.resource.resource-path: "verifying-jwk.json"
          jwt-audience: "http://my.service"
        sign-token:
          jwk.resource.resource-path: "signing-jwk.json"
          jwt-issuer: "http://my.server/identity"
          outbound:
            - name: "propagate-token"
              hosts: ["*.internal.org"]
            - name: "generate-token"
              hosts: ["1.partner-service"]
              jwk-kid: "partner-1"
              jwt-kid: "helidon"
              jwt-audience: "http://1.partner-service"
@romain-grecourt romain-grecourt added bug Something isn't working archetypes 4.x Version 4.x labels Nov 2, 2023
@barchetta barchetta added this to the 4.0.1 milestone Nov 6, 2023
@m0mus m0mus added this to Backlog Aug 12, 2024
@m0mus m0mus moved this to Closed in Backlog Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x archetypes bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants