A token can be obtained by issuing a POST request to /oauth2/token endpoint with application/x-www-form-urlencoded body, using either credentials or a refresh token.
Credentials request body
grant_type=password client_id=<OAuth2 application ID provided by Flowbird> client_secret=<OAuth2 application secret provided by Flowbird> username=<Client account ID provided by Flowbird> password=<Client account password> scope=openid |
Refresh token request body
grant_type=refresh_token client_id=<OAuth2 application ID provided by Flowbird> refresh_token=<Refresh token> scope=openid |