You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I battled swagger-ui + oidc with auth code or implicit flow with redirects and such.
The problem was after successful login in oauth provider the redirect led to localhost:8080/oauth2-redirect.html
And there was 404.
The solution was found here in the last comment: #4766 Many thanks to Phillip.
I set this property and it worked fine. quarkus.swagger-ui.oauth2-redirect-url=/q/swagger-ui/oauth2-redirect.html
Implementation ideas
I believe the setting quarkus.swagger-ui.oauth2-redirect-url should be set to /q/swagger-ui/oauth2-redirect.html by default. Or maybe if I'm wrong it might be good to add some more explanation to the property meaning in docs.
The text was updated successfully, but these errors were encountered:
Description
So I battled swagger-ui + oidc with auth code or implicit flow with redirects and such.
The problem was after successful login in oauth provider the redirect led to localhost:8080/oauth2-redirect.html
And there was 404.
The solution was found here in the last comment: #4766 Many thanks to Phillip.
I set this property and it worked fine.
quarkus.swagger-ui.oauth2-redirect-url=/q/swagger-ui/oauth2-redirect.html
Implementation ideas
I believe the setting
quarkus.swagger-ui.oauth2-redirect-url
should be set to/q/swagger-ui/oauth2-redirect.html
by default. Or maybe if I'm wrong it might be good to add some more explanation to the property meaning in docs.The text was updated successfully, but these errors were encountered: