Skip to content

Conversation

@jekhor
Copy link
Contributor

@jekhor jekhor commented Aug 10, 2012

Some OAuth2 providers ignore 'state' parameter, and don't return it back
to the client. CSRF protection with this parameter is impossible for such
services.

Add a boolean option :provider_ignores_state for disable CSRF protection
for individual strategies.

Signed-off-by: Yauhen Kharuzhy jekhor@gmail.com

Some OAuth2 providers ignore 'state' parameter, and don't return it back
to the client. CSRF protection with this parameter is impossible for such
services.

Add a boolean option :provider_ignores_state for disable CSRF protection
for individual strategies.

Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>
@mamantoha
Copy link

👍

mbleigh added a commit that referenced this pull request Aug 11, 2012
Add option for disabling CSRF protection for defective providers.
@mbleigh mbleigh merged commit 74a15ad into omniauth:master Aug 11, 2012
@mbleigh
Copy link
Contributor

mbleigh commented Aug 11, 2012

Fantastic, thanks.

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

Successfully merging this pull request may close these issues.

4 participants