Skip to content

OpenID Connect Metadata document doesn't reflect app-specific scopes? #1689

Answered by nickludwig
julealgon asked this question in Q&A
Discussion options

You must be logged in to vote

We don't support this. The OIDC metadata endpoint just returns Azure AD's STS metadata. There's no concept of custom resources or custom scopes here. Since there's only one OIDC provider in this context (Azure AD), this means that regardless of what appid you pass as a parameter in the request to the metadata endpoint the supported_scopes will always be the same.

The reason passing an appid parameter (mind you, this is a non-standard extension) is supported is so custom signing keys can be discovered. So, the value of jwks_uri that's returned by the OIDC metadata endpoint is the only thing that can change based on what appid is passed as a parameter.

Replies: 3 comments 5 replies

Comment options

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

Comment options

You must be logged in to vote
4 replies
@julealgon
Comment options

@maxisam
Comment options

@IronSean
Comment options

@marcotielen
Comment options

Answer selected by julealgon
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants