-
Notifications
You must be signed in to change notification settings - Fork 67
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
ClearSession is showing prompt to Sign In when user wants to Logout in iOS #212
Comments
Have you debugged your code? Could you please double check if the login prompt comes from clearSession method and not from some another code line. Neither me nor other users have faced such an issue before. |
Thanks for the update @vmurin. I am using below method to logout user. Please have a look and suggest if any modification needs to be done:
|
Some suggestions:
just an experiment... |
Thanks for the suggestion @vmurin
|
Do you have the same behavior on iOS and Android? |
Hi @vmurin, this behaviour is seen only in iOS. We do not get any confirmation prompt in Android. Also I have used iPhone device to test it and have not checked on Simulator |
@vmurin facing the same issue on ios simulator. It asks to Sign in when trying to clear the session. Here is my code for logging out:
This is what i see when I click on Continue |
I am facing the same issue. This popup is visible when the user is logging out. And no matter whether the user clicks cancel or continue. The user will be logged out. After going through the code for @vmurin Could you please check this and let me know if NativeModules.AzureAuth.showUrl is required for logout or if is there any need to call Here's my code.
|
I am facing the same issue. @sakshya73 I implemented the changes based on your suggestions and successfully skipped the sign-in prompt when the user logs out. However, the logout functionality is still not fully working as the user remains signed in and is not completely logged out. I spent a lot of time about this issue but I couldn't able to resolve this issue. Can anybody help me how to skip the sign in prompt and user should be logged out completely. |
Hi Guys @sakshya73 @nareshkopanathi @faisal-rehman19 To the question from @sakshya73 - yes it is needed to call The confusing message "...Wants to use microsoft.com to SignIn" is coming from Azure and I'm not sure why. |
Hi @vmurin,
While logging out of the application I make a call to the clearSession request. Before navigating to the webview to logout, it shows the Sign In prompt as shown in the attachment.
Please suggest how to do away with the prompt totally or at least need to change the text in the prompt to Sign Out.
The text was updated successfully, but these errors were encountered: