ORCID-Source
ORCID-Source copied to clipboard
Support /.well-known/oauth-authorization-server
This allows auto-configuration of the OAuth client.
See more information in this RFC: https://tools.ietf.org/html/rfc8414
Example: https://developer.okta.com/docs/reference/api/oidc/#well-known-oauth-authorization-server
There is similar configuration for OpenID Connect, which could also be provided: https://developer.okta.com/docs/reference/api/oidc/#well-known-openid-configuration
Hi Mitar,
We already support open id configuration at https://orcid.org/.well-known/openid-configuration but was not aware of https://tools.ietf.org/html/rfc8414
Do you know how different the formats are? Can we simply deliver the same metadata from both?
You can, but the oauth-authorization-server has few more fields, e.g.:
revocation_endpointrevocation_endpoint_auth_methods_supportedrevocation_endpoint_auth_signing_alg_values_supportedintrospection_endpointintrospection_endpoint_auth_methods_supportedintrospection_endpoint_auth_signing_alg_values_supportedcode_challenge_methods_supported
At the same time openid-configuration has some extra fields, e.g.:
acr_values_supportedsubject_types_supportedid_token_signing_alg_values_supportedid_token_encryption_alg_values_supportedid_token_encryption_enc_values_supporteduserinfo_signing_alg_values_supporteduserinfo_encryption_alg_values_supporteduserinfo_encryption_enc_values_supportedrequest_object_signing_alg_values_supportedrequest_object_encryption_alg_values_supportedrequest_object_encryption_enc_values_supporteddisplay_values_supportedclaim_types_supportedclaims_supportedclaims_locales_supportedclaims_parameter_supportedrequest_parameter_supportedrequest_uri_parameter_supportedrequire_request_uri_registration
Because both of them allow additional parameters, I think it is safe to have only one metadata and serve it at both locations.
We already support open id configuration
Oh, I missed that. I see why. Because it does not allow CORS access. I will open another issue for that.
Edit: Done: https://github.com/ORCID/ORCID-Source/issues/5978