Page MenuHomePhabricator

Adjust Google Auth Adapter to use Open ID Connect
AbandonedPublic

Authored by dragoon20 on Jan 23 2019, 9:11 AM.
Tags
None
Referenced Files
F15508098: D20015.id47786.diff
Wed, Apr 16, 1:37 AM
F15497029: D20015.id47783.diff
Sun, Apr 13, 9:28 AM
F15463882: D20015.id47781.diff
Wed, Apr 2, 4:14 AM
F15460987: D20015.id47783.diff
Tue, Apr 1, 4:07 AM
F15444731: D20015.id47781.diff
Thu, Mar 27, 10:56 AM
F15437139: D20015.id47783.diff
Tue, Mar 25, 5:51 PM
F15436001: D20015.id47786.diff
Tue, Mar 25, 11:20 AM
F15430518: D20015.diff
Mar 24 2025, 8:01 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

Google planned to shutdown Google+ API because of
security vulnerabilities.

https://developers.google.com/+/api-shutdown

Test Plan
  • Locally, try to setup google authentication account and try login.

Diff Detail

Repository
rPHU libphutil
Branch
adjust_google_sign_in
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21639
Build 29505: arc lint + arc unit

Event Timeline

Update some uncommitted code

We'll ship a patch for this in the next release (see T13227) but this patch doesn't look quite right.

This is helpful as a starting point, but there are some related Auth changes I want to make at the same time (e.g., T5591) anyway.

src/auth/PhutilGoogleAuthAdapter.php
67

This looks wrong ("famiily" is misspelled).

152–177

This looks wrong, since the message is adjusted but the parameters are not, so the %s conversions won't line up.

This revision now requires changes to proceed.Jan 23 2019, 11:29 AM

Fix typo and wrong parameter for error message

Hi @epriestley , thanks for looking at this patch, please help elaborate if there is something wrong with this patch.

Currently I only replace the use of access token to id token which is working.

As for T5591, maybe I can help you in another patch also, I am thinking that would need to add parameter on the login screen which resides in rP.

@epriestley thanks for the other diff, it worked, closing this diff