Skip to content

Commit a92b64b

Browse files
authored
fix(android): pass the specified scope when creating configuration (#363)
1 parent 2d57abe commit a92b64b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/RNAppleAuthentication/AppleAuthenticationAndroidModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public void configure(ReadableMap configObject) {
150150
.clientId(clientId)
151151
.redirectUri(redirectUri)
152152
.responseType(SignInWithAppleConfiguration.ResponseType.ALL)
153-
.scope(SignInWithAppleConfiguration.Scope.ALL)
153+
.scope(scope)
154154
.state(state)
155155
.rawNonce(rawNonce)
156156
.nonce(nonce)

0 commit comments

Comments
 (0)