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

Incomplete documentation? #28

Open
mehiatt opened this issue Apr 28, 2023 · 1 comment
Open

Incomplete documentation? #28

mehiatt opened this issue Apr 28, 2023 · 1 comment

Comments

@mehiatt
Copy link

mehiatt commented Apr 28, 2023

Following this quickstart

https://auth0.com/docs/quickstart/backend/java-spring-security5/interactive

I am a bit confused as to how the JwtDecoder bean is used. Is this used in the background and just needs to be defined? As far as I can tell it's not actually used in the examples. I also looked at the other github examples but didn’t see it used.

@jimmyjames
Copy link
Contributor

Hey @mehiatt, the JwtDecoder bean is there to ensure the audience claim is validated. If you're using Spring Boot 3, this isn't necessary with the Spring changes discussed in #27, so should be safe to remove. We have work planned to update this sample and quickstart to Spring Boot 3. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants