From 43f58e910591d2e791b5a3e2034b76beb80294d0 Mon Sep 17 00:00:00 2001 From: Pierson Marks Date: Tue, 10 Oct 2023 18:04:32 -0700 Subject: [PATCH] Reorder requested scopes to place FULL_NAME first Refer to FAQ where order of scopes matters. https://github.com/invertase/react-native-apple-authentication#faqs --- docs/Auth0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Auth0.md b/docs/Auth0.md index 79c7b9eab..e1f07c782 100644 --- a/docs/Auth0.md +++ b/docs/Auth0.md @@ -29,7 +29,7 @@ export default async function AppleAuthentication() { const appleAuthRequestResponse = await appleAuth.performRequest({ nonceEnabled: false, requestedOperation: appleAuth.Operation.LOGIN, - requestedScopes: [appleAuth.Scope.EMAIL, appleAuth.Scope.FULL_NAME] + requestedScopes: [appleAuth.Scope.FULL_NAME, appleAuth.Scope.EMAIL] }); const credentialState = await appleAuth.getCredentialStateForUser(