From b593f029d3bf181be77feae1eaecce2c95678266 Mon Sep 17 00:00:00 2001 From: Pierson Marks Date: Sat, 4 Nov 2023 15:14:22 -0700 Subject: [PATCH] docs(Auth0): reordered requested scopes to place FULL_NAME first (#330) 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(