Skip to content

Add openLogoutUri to add a custom redirect function on logout #353

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

Closed
wants to merge 1 commit into from
Closed

Conversation

joostme
Copy link

@joostme joostme commented Jun 14, 2018

I am having an issue when using the logOut function inside a cordova container. The location.href call redirects the user to the standard Safari browser. But we are using an InAppBrowser which is called using window.open.

Instead of generating the logout Url by myself I want to have a custom function that gets called with the generated logout Url so I can handle it myself.

If no custom function is set, the standard location.href is used.

NOTE: I am aware of the noRedirectToLogoutUrl option. But we are using cookies so a request to the server/oauth provider is mandatory so the cookies are cleared properly in the InAppBrowser.

@nhance
Copy link
Contributor

nhance commented Jun 27, 2018

See #235 and #369

@joostme joostme closed this Jun 28, 2018
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 this pull request may close these issues.

2 participants