Skip to content

Commit 8ea51aa

Browse files
authored
fix(providers): Apple checks should be ['state', 'nonce'] (#11239)
* fix: apple provider only support state and nonce * fix format issue
1 parent 966f454 commit 8ea51aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/src/providers/apple.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ export default function Apple<P extends AppleProfile>(
171171
text: "#fff",
172172
bg: "#000",
173173
},
174+
// https://developer.apple.com/documentation/sign_in_with_apple/request_an_authorization_to_the_sign_in_with_apple_server
175+
checks: ["nonce", "state"],
174176
options,
175177
}
176178
}

0 commit comments

Comments
 (0)