Homec4science

Preserve "next" URI by using OAuth 'state' parameter

Authored by epriestley <epriestley@phabricator.com> on Mar 8 2011, 04:29.

Description

Preserve "next" URI by using OAuth 'state' parameter

Summary:
When a user clicks a link like /T32 and has to login, redirect them
to the resource once they've authenticated if possible. OAuth has a param
specifically for this, called 'state', so use it if possible. Facebook
supports it but Github does not.

Test Plan:
logged in with facebook after viewing /D20

Reviewed By: aran
Reviewers: aran
CC: aran, epriestley
Differential Revision: 61

Details

Committed
epriestley <epriestley@phabricator.com>Mar 8 2011, 07:00
Pushed
aubortJan 31 2017, 17:16
Parents
rPH0bcbd0f1582b: Merge branch 'master' of github.com:facebook/phabricator
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <epriestley@phabricator.com> committed rPHa100d97ed5ce: Preserve "next" URI by using OAuth 'state' parameter (authored by epriestley <epriestley@phabricator.com>).Mar 8 2011, 07:00