Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Federated logout #126

Closed
etortec opened this issue Jul 31, 2019 · 0 comments · Fixed by #129
Closed

Federated logout #126

etortec opened this issue Jul 31, 2019 · 0 comments · Fixed by #129

Comments

@etortec
Copy link

etortec commented Jul 31, 2019

It seems like auth-spa-js 1.1.0 currently does not support telling auth0 to perform a federated logout. There seems to be no way to pass the required federated query parameter since the LogoutOptions interface does not allow this:

auth0-spa-js/src/global.ts

Lines 162 to 179 in 5f94633

interface LogoutOptions {
/**
* The URL where Auth0 will redirect your browser to after the logout.
*
* > Note that if the `client_id` parameter is included, the
* `returnTo` URL that is provided must be listed in the
* Application's "Allowed Logout URLs" in the Auth0 dashboard.
* However, if the `client_id` parameter is not included, the
* `returnTo` URL must be listed in the "Allowed Logout URLs" at
* the account level in the Auth0 dashboard.
*/
returnTo?: string;
/**
* The `client_id` of your application.
*/
client_id?: string;
}

Am i missing something? If not, can you please add an option to support auth0's federated logout?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant