Skip to content

The "bff" springboot application needs to reach ".well-known/openid-configuration" when starting, what if it can't? #201

Answered by ch4mpy
rgambelli asked this question in Q&A
Discussion options

You must be logged in to vote

You can not run an OAuth2 system if other actors (clients and resource servers) can't reach the authorization server.

Other actors use the OpenID configuration to auto-configure themself with:

  • JWK-set (or userinfo if the server is not OpenID), authorization, token and end-session endpoints for client
  • JWK-set endpoint (or introspection endpoint if the server does not emit JWTs) for the resource server

You may configure all of these endpoints yourself instead of relying on OIDC auto-configuration, but at some point, the client will need to access the authorization server and it will also need to redirect users to it (with proper scheme, host and port).

So just make your authorization serv…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@veganchamp
Comment options

Answer selected by rgambelli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants