mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-24 16:29:07 +00:00
Fix typing issue.
This commit is contained in:
parent
d83e5a70bc
commit
2152b3f5a6
@ -255,7 +255,7 @@ def parse_id_token(token: str) -> Any:
|
|||||||
return json.loads(decoded)
|
return json.loads(decoded)
|
||||||
|
|
||||||
|
|
||||||
def login_return(code: str, state: str, session_state: str = None) -> Optional[Response]:
|
def login_return(code: str, state: str, session_state: str = "") -> Optional[Response]:
|
||||||
"""Login_return."""
|
"""Login_return."""
|
||||||
state_dict = ast.literal_eval(base64.b64decode(state).decode("utf-8"))
|
state_dict = ast.literal_eval(base64.b64decode(state).decode("utf-8"))
|
||||||
state_redirect_url = state_dict["redirect_url"]
|
state_redirect_url = state_dict["redirect_url"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user