标签: api
我无法使用以下过程获取刷新令牌
Method: POST Request URL: https://auth.buildinglink.com/connect/token Params: username:xxxxxx password:xxxxxx grant_type:password
响应:
{ "error": "invalid_client" }
如何刷新令牌?
答案 0 :(得分:0)
你错过了client_id
获取新令牌
https://auth.buildinglink.com/connect/token?grant_type=password&username=USERNAME&password=PASSWORD&client_id=CLIENT_ID
如果您需要刷新令牌
https://auth.buildinglink.com/connect/token?grant_type=refresh_token&client_id=CLIENT_ID&client_secret=CLIENT_SECRET&refresh_token=REFRESH_TOKEN