We are facing the issue, when we logout from Auth0.
its showing Login alert ( and asking :- “wants to sign in…” ), not showing logout thing.
Can you provide some guidance to overcome this issue.
We are facing the issue, when we logout from Auth0.
its showing Login alert ( and asking :- “wants to sign in…” ), not showing logout thing.
Can you provide some guidance to overcome this issue.
Hi Dan,
Thank you for responding
Here’s the code i calling , when I sign out
Auth0
.webAuth()
.clearSession(federated: false){
switch $0{
case true:
print("Done")
let mainStoryBoard = UIStoryboard(name: "Main", bundle: nil)
let redViewController = mainStoryBoard.instantiateViewController(withIdentifier: "LoginVC") as! LoginVC
let appDelegate = UIApplication.shared.delegate as! AppDelegate
appDelegate.window?.rootViewController = redViewController
appDelegate.window?.makeKeyAndVisible()
break
case false:
print("Not Done")
}
}
Thanks,
amtDeveloper
What are you expecting to see when you say the ‘logout thing’?
Hi Dan,
I’m Expecting the result like…
Thanks,
AmtDeveloper
After you are making the clearSession call are you getting a confirmed logout? Can you record a screen capture to show what happens?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.