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
F18823719: D19177.diff
Oct 23 2025, 1:04 PM
F18823160: D19177.diff
Oct 23 2025, 10:25 AM
F18783754: D19177.id45935.diff
Oct 13 2025, 9:18 AM
F18741486: D19177.id.diff
Oct 2 2025, 1:25 PM
F18741166: D19177.diff
Oct 2 2025, 9:02 AM
F18739575: D19177.diff
Oct 1 2025, 9:58 PM
F18733750: D19177.id.diff
Sep 30 2025, 10:41 PM
F18627889: D19177.id.diff
Sep 16 2025, 5:02 AM
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.