Open
Description
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 ?