Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove gapi.auth2 usage #1311

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Remove gapi.auth2 usage #1311

wants to merge 1 commit into from

Conversation

nbdd0121
Copy link

This API has been deprecated and doesn't work for newly created client IDs.

The login part is already migrated previously in #1281 and the only usage left is the logout part with auth2.signOut() call. Accordingly to Google's migration guide, the signOut is no longer needed and can simply be removed.

Previously, auth2.signOut() could be used to help manage user sign-out from your app. Any usage of auth2.signOut() should be removed, and your app should directly manage per user session state and sign-in status.

This API has been deprecated and doesn't work for newly created
client IDs.

The login part is already migrated previously and the only usage left is
the logout part with `auth2.signOut()` call. Accordingly to Google's
migration guide [1], the signOut is no longer needed and can simply be
removed.

> Previously, auth2.signOut() could be used to help manage user sign-out
> from your app. Any usage of auth2.signOut() should be removed, and
> your app should directly manage per user session state and sign-in
> status.

[1] https://developers.google.com/identity/gsi/web/guides/migration#user_consent_and_revoking_permission
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant