diff --git a/src/casdoor/main.py b/src/casdoor/main.py index 33c9d51..3622a57 100644 --- a/src/casdoor/main.py +++ b/src/casdoor/main.py @@ -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 + "/login/oauth/authorize"