Add Sign in with Apple to Your App
Auth0 enables you to use the Sign In with Apple (SIWA) capability to provide Apple-based authentication to your applications. You can include SIWA for your native Apple applications, web applications, or applications that run on other platforms (such as Android).
Before you add support for SIWA to your app, you'll need:
- an Apple Developer account, which is a paid account with Apple. (There is no free trial available unless you are part of their iOS Developer University Program.)
How it works
Once you have registered your application with Apple and configured your application connection settings in Auth0 to use the IDs and keys obtained from Apple, your users can sign in to your applications using their Apple IDs and passwords.
When a user returns to your app, you can log them in automatically if their login session is still valid. To check, you can retrieve their credentials from the keychain and check if the access token is still valid. If the access token has expired, you can renew it using a refresh token.