Google one-tap client: cannot get it to work #232

Closed
opened 2026-03-13 07:38:54 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @MrKepzie on GitHub (Nov 15, 2024).

Getting the following client-side issue:

Parameter approval_state is not set correctly.

My code is pretty simple:

 const authClient = createAuthClient({
      baseURL: baseURL,
      plugins: [
        oneTapClient({
            clientId: '...'
        })
      ],
    });
    authClient.oneTap({
      callbackURL: "/"
    });

Any idea how to fix?

Originally created by @MrKepzie on GitHub (Nov 15, 2024). Getting the following client-side issue: ` Parameter approval_state is not set correctly.` My code is pretty simple: ``` const authClient = createAuthClient({ baseURL: baseURL, plugins: [ oneTapClient({ clientId: '...' }) ], }); authClient.oneTap({ callbackURL: "/" }); ``` Any idea how to fix?
Author
Owner
@Bekacru commented on GitHub (Dec 17, 2024): https://stackoverflow.com/questions/78858622/approval-state-is-not-set-when-trying-to-add-google-login check this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#232