Hi,
I am trying to use cognito but the discovery document via the url https://cognito-idp.us-east-1.amazonaws.com/<user pool id>/.well-known/openid-configuration doesn't have endpoints like logout, revoke.
Is there a way to include them into the discovery document? Because I try to extract the endpoints from the discovery document.
Currently it looks like this
{ "authorization_endpoint": "https://xyz.auth.us-east-1.amazoncognito.com/oauth2/authorize", "id_token_signing_alg_values_supported": [ "RS256" ], "issuer": "https://cognito-idp.us-east-1.amazonaws.com/userpool", "jwks_uri": "https://cognito-idp.us-east-1.amazonaws.com/userpool/.well-known/jwks.json", "response_types_supported": [ "code", "token" ], "scopes_supported": [ "openid", "email", "phone", "profile" ], "subject_types_supported": [ "public" ], "token_endpoint": "https://xyz.auth.us-east-1.amazoncognito.com/oauth2/token", "token_endpoint_auth_methods_supported": [ "client_secret_basic", "client_secret_post" ], "userinfo_endpoint": "https://xyz.auth.us-east-1.amazoncognito.com/oauth2/userInfo" }
Although cognito has logout and revoke endpoint but its not part of the discovery document url
Ex- https://mydomain.auth.us-east-1.amazoncognito.com/logout, https://mydomain.auth.us-east-1.amazoncognito.com/oauth2/revoke