1
0

fix: OpenID problem

This commit is contained in:
オスカー、 2023-03-22 14:13:42 +00:00 committed by GitHub
parent dd4b7e7d49
commit aaec7b7bc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
app.py
View File

@ -57,7 +57,7 @@ async def link():
'openid.claimed_id': "http://specs.openid.net/auth/2.0/identifier_select",
'openid.mode': "checkid_setup",
'openid.return_to': f"{os.getenv('REDIRECT_URI')}/steam",
'openid.realm': os.getenv("DEFAULT_URI")
'openid.realm': f"{os.getenv('REDIRECT_URI')}/steam"
}
query_string = parse.urlencode(u)
auth_url = steam_openid_url + "?" + query_string