Commit 96b5637b by Greg Price

Merge pull request #5911 from edx/gprice/login-oauth-csrf-exempt

Make OAuth token login endpoint CSRF exempt
parents 81c1ae35 9270c7c7
......@@ -1114,6 +1114,7 @@ def login_user(request, error=""): # pylint: disable-msg=too-many-statements,un
}) # TODO: this should be status code 400 # pylint: disable=fixme
@csrf_exempt
@require_POST
@social_utils.strategy("social:complete")
def login_oauth_token(request, backend):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment