Homec4science

Expand libphutil support for Twitter as an auth provider

Authored by epriestley <git@epriestley.com> on Sep 3 2013, 14:52.

Description

Expand libphutil support for Twitter as an auth provider

Summary:
Ref T3687. Companion to the next diff, which adds the Phabricator half of this. Twitter is an easier OAuth1 proivder to implement and get a sanity check from, on the road to JIRA. Broadly:

  • Consumer secrets are now wrapped in a PhutilOpaqueEnvelope for consistency with OAuth2.
  • Twitter provider now returns full account info (username, profile image, etc), by making a call to the Twitter API.

Test Plan:
Registered using Twitter, got a registration form filled with information:

{F57054}

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3687

Differential Revision: https://secure.phabricator.com/D6864

Details

Committed
epriestley <git@epriestley.com>Sep 3 2013, 14:52
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUcb35349399f1: Allow PhutilTypeSpec to validate regular expressions
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU0f878b389721: Expand libphutil support for Twitter as an auth provider (authored by epriestley <git@epriestley.com>).Sep 3 2013, 14:52