If you don't have one yet, create a new one at following these steps: Sign in with Apple is one of the restricted services which is not available for free with just an Apple ID ( source). Prerequisites #īefore you can start integrating (or even testing) Sign in with Apple you need a paid membership to the Apple Developer Program. Your server should then daily verify the session with Apple (via a refresh token it obtained on the initial validation), and revoke the session in your system if the authorization has been withdrawn on Apple's side. Once you receive the credentials, they need to be verified with Apple's servers (to ensure that they are valid and really concern the mentioned user) and then a new session should be derived from them in your system. Integrating Sign in with Apple goes beyond just adding this plugin to your pubspec.yaml and using the credential-receiving functions exposed by it. after they have been validated with Apple (see `Integration` section for more information on how to do this) Now send the credential (especially `thorizationCode`) to your server to create a session Supports login via an Apple ID, as well as retrieving credentials saved in the user's keychain.įinal credential = await SignInWithApple.getAppleIDCredential(
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |