-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The OpenID provider metadata that is generated here is not valid:
profile-gdpr-api-tester/gdpr_api_tester/routes.py
Lines 24 to 27 in e4e8f5a
| data = { | |
| "issuer": app_config.ISSUER, | |
| "jwks_uri": jwks_uri, | |
| } |
This is a problem for connecting libraries that validate that the returned metadata is correct as defined by the specification.
As per the specification, the following metadata values are marked as REQUIRED:
issuer- OKauthorization_endpoint- MISSINGjwks_uri- OKresponse_types_supported- MISSINGsubject_types_supported- MISSINGid_token_signing_alg_values_supported- MISSING
The following data definition (for example) would return valid metadata:
data = {
"issuer": app_config.ISSUER,
"authorization_endpoint": f"{app_config.ISSUER}/auth",
"jwks_uri": jwks_uri,
"response_types_supported": ["id_token"],
"subject_types_supported": ["public", "pairwise"],
"id_token_signing_alg_values_supported": ["RS256"],
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels