Google oauth2 id_tokens를 확인하기위한 간단한 Python 서버가 있습니다. 이 코드는 오류 AppIdentityError: Wrong recipient
가 발생합니다 실행할 때 :AppIdentityError 란 무엇입니까? 잘못된 수신자입니까?
def verify():
id_token = request.form['id_token']
status = {}
if id_token is not None:
try:
jwt = verify_id_token(id_token, config['google']['clientId'])
status['valid'] = True
status['jwt'] = jwt
except AppIdentityError:
status['valid'] = False
status['message'] = "Invalid id token"
pprint.pprint(status)
response = make_response(json.dumps(status))
response.headers['Content-Type'] = 'application/json'
return response
AppIdentityError: Wrong recipient
은 무엇을 의미합니까 내가 그것을 어떻게 해결할 수 있습니까?