Problem/Motivation

Clicking the login does not work and the network tabs says:

https://www.exampel.com/user/login/google/one-tap-callback
returns
{"logged_in":false,"message":"Token not provided."}

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

anybody created an issue. See original summary.

grevil’s picture

Assigned: grevil » Unassigned
Status: Active » Postponed (maintainer needs more info)

Have you allowed your domain on Google's end?

- In your Google Cloud Console, navigate to APIs & Services > Credentials.
- Edit your OAuth 2.0 Client ID.
- Under Authorized JavaScript origins, make sure your site's domain (e.g., https://example.com, http://localhost:8000) is listed. This is crucial for the Google One Tap UI to be displayed and function correctly.

anybody’s picture

Status: Postponed (maintainer needs more info) » Needs review

grevil’s picture

Status: Needs review » Reviewed & tested by the community

LGTM!

  • grevil committed 525ecec3 on 2.x authored by anybody
    feat: #3567711 One Tap Login does not work, returns "Token not provided"
    
anybody’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.