The OpenID provider metadata that is generated here is not valid:
|
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 - OK
authorization_endpoint - MISSING
jwks_uri - OK
response_types_supported - MISSING
subject_types_supported - MISSING
id_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"],
}
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
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- MISSINGThe following data definition (for example) would return valid metadata: