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 redirection problem on Windows #384

Open
jayantahexagon opened this issue Jan 18, 2024 · 0 comments
Open

Logout redirection problem on Windows #384

jayantahexagon opened this issue Jan 18, 2024 · 0 comments

Comments

@jayantahexagon
Copy link

jayantahexagon commented Jan 18, 2024

I have a Flutter app that utilizes Azure B2C authentication, employing OAUTH2 integration. While the login process is successful, I am encountering issues with the logout functionality.
My current approach involves calling the logout endpoint and clearing the access token.
The logout process works on iOS, redirecting back to the app, but on Windows, the redirection is not functioning properly. I observed that using a redirect URI with "https://" works, but when using a custom scheme like "myapp://auth," the redirection does not occur as expected.

Example Logout URL : https://{tenant}.b2clogin.com/{tenant}.onmicrosoft.com/{policy}/oauth2/v2.0/logout?post_logout_redirect_uri=myapp://auth

Any idea how it can be solved ?

@mosuem mosuem transferred this issue from dart-archive/oauth2 Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants