fix: ログイン時のエラーはERRORログで出さない
This commit is contained in:
parent
b20d879f16
commit
449dedd3a5
@ -130,7 +130,7 @@ def sso_authorize(
|
|||||||
# トークン検証
|
# トークン検証
|
||||||
verified_token = jwt_token.verify_token()
|
verified_token = jwt_token.verify_token()
|
||||||
except JWTTokenVerifyException as e:
|
except JWTTokenVerifyException as e:
|
||||||
logger.exception(f'SSOログイン失敗:{e}')
|
logger.info(f'SSOログイン失敗:{e}')
|
||||||
raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED)
|
raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED)
|
||||||
|
|
||||||
# トークンからユーザーIDを取得
|
# トークンからユーザーIDを取得
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user