|
@@ -46,7 +46,7 @@ def login_access_token(
|
|
|
|
|
|
@router.post("/login/google/access-token/{access_token}", response_model=schemas.Token)
|
|
|
def login_access_token(
|
|
|
- access_token: str, db: Session = Depends(deps.get_db),
|
|
|
+ access_token: str, db: Session = Depends(deps.get_db),
|
|
|
) -> Any:
|
|
|
CLIENT_ID = "136107811725-n71808u8t465f1afhpe2e5j7mn606nd8.apps.googleusercontent.com"
|
|
|
idinfo = id_token.verify_oauth2_token(access_token, requests.Request(), CLIENT_ID)
|