Page MenuHomePhabricator

Fix Facebook login on mobile violating CSP after form redirect
ClosedPublic

Authored by epriestley on Feb 23 2019, 12:58 AM.
Tags
None
Referenced Files
F20647106: D20206.id48246.diff
Sun, Jun 21, 2:28 AM
Unknown Object (File)
Apr 4 2026, 11:02 PM
Unknown Object (File)
Mar 29 2026, 1:25 PM
Unknown Object (File)
Mar 14 2026, 1:43 PM
Unknown Object (File)
Mar 2 2026, 4:33 AM
Unknown Object (File)
Feb 26 2026, 9:13 AM
Unknown Object (File)
Feb 22 2026, 9:22 AM
Unknown Object (File)
Jan 31 2026, 9:39 PM
Subscribers
None

Details

Summary

Fixes T13254. See that task for details.

Test Plan

Used iOS Simulator to do a login locally, didn't get blocked. Verified CSP includes "m.facebook.com".

Diff Detail

Repository
rP Phabricator
Branch
fb1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22101
Build 30194: Run Core Tests
Build 30193: arc lint + arc unit

Event Timeline

src/applications/auth/provider/PhabricatorFacebookAuthProvider.php
117–127

Is this just incidentally dead code you're removing?

amckinley added inline comments.
src/applications/auth/provider/PhabricatorFacebookAuthProvider.php
117–127

Yeah it looks dead to me and grep.

This revision is now accepted and ready to land.Feb 23 2019, 2:15 AM

Yeah, sorry, no callsites per grep. And probably won't work without changes in a T6703 world anyway, since there might plausibly be multiple Facebook auth providers.

This revision was automatically updated to reflect the committed changes.