diff --git a/idkit/src/components/SignInWithWorldID.tsx b/idkit/src/components/SignInWithWorldID.tsx index 333780c..46dfa40 100644 --- a/idkit/src/components/SignInWithWorldID.tsx +++ b/idkit/src/components/SignInWithWorldID.tsx @@ -28,7 +28,7 @@ const SignInWithWorldID: FC = ({ 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) {