Merge pull request #15510 from kopero2000/bug/oauth_logout_fix
fix/oauth logout fix
This commit is contained in:
@@ -675,7 +675,7 @@ async def signout(request: Request, response: Response):
|
||||
oauth_id_token = request.cookies.get("oauth_id_token")
|
||||
if oauth_id_token:
|
||||
try:
|
||||
async with ClientSession() as session:
|
||||
async with ClientSession(trust_env=True) as session:
|
||||
async with session.get(OPENID_PROVIDER_URL.value) as resp:
|
||||
if resp.status == 200:
|
||||
openid_data = await resp.json()
|
||||
|
||||
Reference in New Issue
Block a user