[GH-ISSUE #546] Google one-tap client: cannot get it to work #8316

Closed
opened 2026-04-13 03:23:09 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @MrKepzie on GitHub (Nov 15, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/546

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). Original GitHub issue: https://github.com/better-auth/better-auth/issues/546 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?
GiteaMirror added the locked label 2026-04-13 03:23:09 -05:00
Author
Owner
<!-- gh-comment-id:2548392942 --> @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#8316