Auth0 Home Blog Docs

A0AuthenticationAPI How to logout on iOS SDK?

logout
tier1
ios
a0authenticationapi

#1

What is the method to logout? I’ve tried looking through all the documentation but I’m not finding anything.

A0AuthenticationAPI - doesn’t give me a logout method – only see a login method.

What is the correct method to logout on the iOS SDK?


#2

Have you tried clearing the Keychain?
The following docs could be helpful:
https://auth0.com/docs/logout#logging-out-a-user

https://auth0.com/docs/quickstart/native/ios-objc/03-user-sessions#on-logout-clear-the-keychain

https://auth0.com/docs/quickstart/native/ios-swift/03-user-sessions#on-logout-clear-the-keychain


#3