Skip to content

Commit 97abd02

Browse files
Sebastian Mennickec00kiemon5ter
authored andcommitted
return error_description instead of error_message
1 parent fab87f9 commit 97abd02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyop/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def to_error_url(self):
5252
redirect_uri = self.request.get('redirect_uri')
5353
response_type = self.request.get('response_type')
5454
if redirect_uri and response_type and self.oauth_error:
55-
error_resp = AuthorizationErrorResponse(error=self.oauth_error, error_message=str(self),
55+
error_resp = AuthorizationErrorResponse(error=self.oauth_error, error_description=str(self),
5656
state=self.request.get('state'))
5757
return error_resp.request(redirect_uri, should_fragment_encode(self.request))
5858

0 commit comments

Comments
 (0)