Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pyoauth2/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,8 @@ def authorization_class(self):

def get_authorization(self):
"""Get authorization object representing status of authentication."""
auth = self.authorization_class()
auth_class = self.authorization_class()
auth = auth_class()
header = self.get_authorization_header()
if not header or not header.split:
return auth
Expand Down