awslabs / aws-saas-boost

AWS SaaS Boost is a ready-to-use toolset that removes the complexity of successfully running SaaS workloads in the AWS cloud.
Apache License 2.0
957 stars 188 forks source link

Manually signout in Cognito environments with a /logout redirect. #448

Closed PoeppingT closed 1 year ago

PoeppingT commented 1 year ago

Since Cognito doesn't support the end_session_endpoint OIDC parameter relied upon by the oidc-client-ts library we use in the admin application, we need special logic for Cognito environments when implementing logout to make a manual call to the /logout endpoint.

Fixes #441


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license