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

Logout Redirect issue #198

Open
AmarRaghav opened this issue Oct 18, 2023 · 5 comments
Open

Logout Redirect issue #198

AmarRaghav opened this issue Oct 18, 2023 · 5 comments

Comments

@AmarRaghav
Copy link

This issue still persists in v1.8.9.
We are not able to redirect Back to the app @vmurin can you get any solution @0xc14m1z

@vmurin
Copy link
Owner

vmurin commented Oct 18, 2023

Have you tried this solution?

@AmarRaghav
Copy link
Author

Have you tried this solution?

Hello @vmurin yes I have tried passing

new AzureAuth({
clientId: CLIENT_ID,
authorityUrl: URL,
redirectUri: redirectURL,
})

And on the Logout method:

azureAuth.webAuth
.clearSession()
.then(success => {
this.props.navigation?.pop()
})
Please find the below screenshot we are stuck on the Microsoft page

Simulator Screenshot - iPhone 15 - 2023-10-20 at 12 10 38

@vmurin
Copy link
Owner

vmurin commented Oct 20, 2023

And what happen after you close this browser window?

@AmarRaghav
Copy link
Author

Possible Unhandled Promise Rejection (id: 0):
Object {
"error": "aa.session.user_cancelled",
"error_description": "User cancelled the Auth",
}

@QendresaB-OM
Copy link

Please can you check this issue is still present @vmurin

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

No branches or pull requests

3 participants