Skip to content

Azure AD B2C extra parameters with dynamic values to authorization requests #197

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

You must be logged in to vote

If you're using spring-addons-starter-oidc and if the values for Azure authorization endpoint proprietary parameters are static, you should be able to do this with just properties.

Provided that the cardinality of possible parameters is reasonable:

# Double-check this values against what you actually get from .well-known/openid-configuration
azure-authorization-endpoint: https://login.microsoftonline.com/${tenant}/oauth2/v2.0/authorize
azure-token-endpoint: https://login.microsoftonline.com/${tenant}/oauth2/v2.0/token
azure-jwks-endpoint: https://login.microsoftonline.com/${tenant}/discovery/v2.0/keys

azure-client-id: change-me
azure-client-secret: change-me

scheme: http
server:
  port: 8…

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@veganchamp
Comment options

@veganchamp
Comment options

@veganchamp
Comment options

@ch4mpy
Comment options

@veganchamp
Comment options

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