问题描述
python code获取token失败
重现步骤
from authing import AuthenticationClient
client = AuthenticationClient(app_id=APP_ID,
app_host=APP_HOST,
redirect_uri=redirect_uri,
app_secret=app_secret
result = client.get_access_token_by_code(code)
附加信息
- Version:
{‘error’: ‘invalid_grant’, ‘error_description’: ‘授权码无效或已过期’}
- Platform:
mac