REST API - refresh token instructions
Paul Timms
12-6-22
Operating system: macOS
It seems that the technical white paper on REST API is missing a section on how to use the refresh token. Could you please confirm that the following is correct? It's based on a section of the white paper. with my amendments.

To refresh the access token using the refresh token:
- application has to make a call to https://standard-id.hansaworld.com/oauth-token with the following POST parameters:
- client_id = Client ID from Developer Credentials in MyStandard
- client_secret = Client Secret from Developer Credentials in MyStandard
- redirect_uri = Application's URL that will handle the callback from StandardID that will contain the token
- refresh_token = Refresh token received when the access token was first received (after manually logging in)
- grant_type = must be "refresh_token"

Thanks

Paul
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
David Delač
Hi Piotr, The log entry:
2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024