Skip to content

Commit

Permalink
fix: Fix self.algorithms data type (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abingcbc authored Mar 20, 2022
1 parent d93af1a commit 5f49189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/casdoor/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(

self.grant_type = "authorization_code"

self.algorithms = "RS256"
self.algorithms = ["RS256"]

def get_auth_link(self, redirect_uri: str, state: str, response_type: str = "code", scope: str = "read"):
url = self.front_endpoint + "/#/oauth/authorize"
Expand Down

0 comments on commit 5f49189

Please # to comment.