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
The Issuer location MUST be returned in the WebFinger response as the value of the href member of a links array element with rel member value http://openid.net/specs/connect/1.0/issuer.
OpenID Providers supporting Discovery MUST make a JSON document available at the path formed by concatenating the string /.well-known/openid-configuration to the Issuer.
It seems it is assumed that our href must be exactly what our issuer configuration points to. And since issuer can be configured so that it does not always be the root_url, I feel #webfinger_response should return issuer value and not the root_url.
which is justified by definition, quoting from readme:
issuer: Identifier for the issuer of the response (i.e. your application URL). The value is a case sensitive URL using the https scheme that contains scheme, host, and optionally, port number and path components and no query or fragment components.
the response should be like this, provided that we have provider configuration available at https://example.com/issuer1/.well-known/openid-configuration.
We had the same issue and merged #172 into the fork we maintain with great success. Thanks for doing the work @sato11! I hope this can also be merged upstream.
The documentation says in 2. OpenID Provider Issuer Discovery:
which then becomes the premise of 4. Obtaining OpenID Provider Configuration Information:
It seems it is assumed that our
href
must be exactly what ourissuer
configuration points to. And sinceissuer
can be configured so that it does not always be theroot_url
, I feel#webfinger_response
should returnissuer
value and not theroot_url
.For example, when
issuer
is configured like this;which is justified by definition, quoting from readme:
the response should be like this, provided that we have provider configuration available at
https://example.com/issuer1/.well-known/openid-configuration
.The text was updated successfully, but these errors were encountered: