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

Make /error public for samples #298

Open
sjohnr opened this issue Aug 8, 2024 · 0 comments
Open

Make /error public for samples #298

sjohnr opened this issue Aug 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sjohnr
Copy link
Member

sjohnr commented Aug 8, 2024

Current behavior:

Some samples (for example, the servlet/spring-boot/java/oauth2/webclient sample) are attempting to show a Spring Boot error page in certain scenarios, but instead show the login page when the user is not authenticated.

Expected behavior:

When the user is not authenticated and an error occurs (for example, calling a resource server causes a 401 Unauthorized response due to a missing access token), the error page should be shown.

@sjohnr sjohnr added the bug Something isn't working label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant