Where should openIdConnectUrl point to? #3630
-
I'm trying to use the What is expected to be provided for
Once answered, happy to create a PR to clarify this. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Of your two examples it should be the latter i.e. the URL is expected to point to the discovery document for a given OpenID Provider. This section of the OpenAPI specification points to the OpenID Discovery specification, hence it should be the discovery document not the issuer URL. Looking at the wording of the OpenAPI specification it could indeed be more explicit (in my opinion) although it does say:
So there is some reference to discovery in there. |
Beta Was this translation helpful? Give feedback.
-
@m-mohr I think this was clarified for the next patch release by PR #3607, so between that and the answer here being accepted, I'm going to close out this discussion. |
Beta Was this translation helpful? Give feedback.
Of your two examples it should be the latter i.e. the URL is expected to point to the discovery document for a given OpenID Provider.
This section of the OpenAPI specification points to the OpenID Discovery specification, hence it should be the discovery document not the issuer URL.
Looking at the wording of the OpenAPI specification it could indeed be more explicit (in my opinion) although it does say:
So there is some reference to discovery in there.