Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authentication in an iframe fails with some browser settings #6

Open
epixode opened this issue Jan 15, 2018 · 0 comments
Open

authentication in an iframe fails with some browser settings #6

epixode opened this issue Jan 15, 2018 · 0 comments

Comments

@epixode
Copy link

epixode commented Jan 15, 2018

This issue presents itself as a TokenMismatchException in VerifyCsrfToken.php.

It happens in browsers where the "Block third-party cookies" option is enabled.
Enabling this option causes cookies for X not to be sent along with request made by a domain X iframe embedded in a domain Y page (X != Y).

As a result, authentication in an iframe fails when this setting is enabled.

The issue can be fixed by doing authentication in a popup window instead of an iframe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant