-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prevent csrf attack against django integration by saving state
Previously, the integration was vulnerable against the kind of CSRF attack described in RFC 6749 section 10.12. (See [1]). In this, a user-agent could be forcibly logged into a new session by redirecting it to a login-callback url that could be supplied by an attacker. This has now been fixed by storing an authentication state in the django session associated with a user-agent. [1]: https://www.rfc-editor.org/rfc/rfc6749#section-10.12
- Loading branch information
Showing
3 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters