post
https://openapi.tigerfintech.com/oauth2/v1/token
The App's Server fetch tokens.
NOTE
Content-TypeMUST beapplication/x-www-form-urlencoded;- The App MUST authenticated itself, via either Secret Basic or Secret Post method;
access_tokenis Json Web Token;- When the grant type is
client_credentials, thesubpayload claim ofaccess_tokenisclient:{client_id}; Content-Typeof the response isapplication/json;charset=UTF-8;- For explanation of errors, please refer to Section 5.2 of RFC6749.
Example
Authorization Code Grant Type
grant_type: authorization_code
code: yfz_7OBH9Eektoyb70GKcRTqmnshAQuolLqNzr63Vgs.z4591d8Yg9m7-KcygngZ9kO38rpGvdde7jjHKhLDM08
redirect_uri: 'http://localhost:3846/callback'
Refresh Token Grant Type
grant_type: refresh_token
refresh_token: YU7w7bnP9dfp5-TBKTXRaPPT0BvkgSag5xHyGVVMo80.UL6_E30Zxk1F5GwQT2VzQLKr19c1HobG9MkdBDdi4LM
Client Credentials Grant Type
grant_type: client_credentials
scope: api.users:write
audience: openapi