Podfile
:
pod install
.
Cartfile
:
carthage bootstrap --use-xcframeworks
.
plist
file named Auth0.plist
in your app bundle with the following content:
{yourAuth0Domain}
with the value of your custom domain instead of the value from the Settings page.
com.example.MyApp
and your Auth0 Domain was example.us.auth0.com
, then this value would be:
None
.auth0
into the Identifier field and $(PRODUCT_BUNDLE_IDENTIFIER)
into the URL Schemes field.
This registers your bundle identifier as a custom URL scheme, so the callback URL and logout URL can reach your app.
Auth0
module in the file where you want to present the login page.
clearSession()
method in the action of your Logout button. Once the session cookie has been cleared, delete the user’s credentials.
/userinfo
endpoint.