NixOS / hydra

Hydra, the Nix-based continuous build system
http://nixos.org/hydra
GNU General Public License v3.0
1.1k stars 291 forks source link

Remove gapi.auth2 usage #1311

Open nbdd0121 opened 7 months ago

nbdd0121 commented 7 months ago

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

The login part is already migrated previously in https://github.com/NixOS/hydra/pull/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.