-
Notifications
You must be signed in to change notification settings - Fork 809
Closed
Description
When a request is made to /o/authorize
, the AuthorizationView.get
function sets kwargs['request']
at L118. This replaces the WSGIRequest
object in the RequestContext
object ultimately passed to the authorization template with an oauthlib.Request
object, which does not have the same attributes to begin with and has not passed through the same middleware. This can break templates which use the missing attributes on the request object.
For some reason this issue only occurs for me with Django 1.8, possibly due to changes in template and template context processing.
If this is not intentional, then the fix is trivial. I would gladly submit such a PR since we have had to fork this project in order to work around this issue.
Metadata
Metadata
Assignees
Labels
No labels