Skip to content

Commit

Permalink
fix: Update SignInWithWorldID.tsx (#110)
Browse files Browse the repository at this point in the history
fixes #109
  • Loading branch information
0xPenryn authored Apr 15, 2023
1 parent d364c9c commit ac9c69c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idkit/src/components/SignInWithWorldID.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const SignInWithWorldID: FC<Props> = ({ onSuccess, app_id, nonce, theme, childre
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ ...proof, app_id, nonce: signal, response_type: 'implicit' }),
body: JSON.stringify({ ...proof, app_id, nonce: signal, response_type: 'id_token' }),
})

if (!response.ok) {
Expand Down

0 comments on commit ac9c69c

Please sign in to comment.