Page MenuHomePhabricator

Perform a client-side redirect after OAuth server authorization
ClosedPublic

Authored by epriestley on Mar 6 2018, 6:31 PM.
Tags
None
Referenced Files
F14843403: D19177.diff
Sun, Feb 2, 6:21 AM
Unknown Object (File)
Wed, Jan 29, 3:34 PM
Unknown Object (File)
Sat, Jan 25, 12:28 AM
Unknown Object (File)
Sat, Jan 25, 12:28 AM
Unknown Object (File)
Sat, Jan 25, 12:28 AM
Unknown Object (File)
Sat, Jan 25, 12:28 AM
Unknown Object (File)
Fri, Jan 17, 2:15 PM
Unknown Object (File)
Jan 2 2025, 5:10 PM
Subscribers
None

Details

Summary

Ref T13099. See that task for discussion. Chrome is unhappy with an MFA form submitting to an endpoint which redirects you to an OAuth URI.

Instead, do the redirect entirely on the client.

Chrome's rationale here isn't obvious, so we may be able to revert this at some point.

Test Plan

Went through the OAuth flow locally, was redirected on the client. Will verify in production.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Draft.Mar 6 2018, 8:18 PM
This revision was automatically updated to reflect the committed changes.