Skip to content

Not working on real website, works on localhost #1159

Open
@vforv

Description

@vforv

Important gapi.auth2 notice: gapi.auth2 has been deprecated and replaced with Google Identity Services. Please see https://developers.google.com/identity/sign-in/web/deprecation-and-sunset for more information. If you have questions related to authentication/authorization please look at the associated documentation or post questions on Stack Overflow with the google-oauth tag.

Summary
Working on localhost not working on real domain. I added everything on app authorized domains also cleared cache

Browser(s)/Version(s)
Each

Expected Behavior
Login works as expected when testing on localhost but not on real website

Actual Behavior

On real website I getting error:

credential_button_library:48 [GSI_LOGGER]: The given origin is not allowed for the given client ID.
(anonymous) @ button?type=icon&width=200&client_id=115727459091-6eokr94phqi8if5u1puqmv3ns9su9dvn.apps.googleusercontent.com&iframe_id=gsi_686071_964241&as=0opUmcqLicF1Hq8qgx%2Fiig:1
m=credential_server_library:48 [GSI_LOGGER]: The given origin is not allowed for the given client ID

Steps to Reproduce
Please include steps and code samples to aid in issue reproduction(html/javascript).
I just using regular Angular implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions