I feel your pain – it took me ages to work it out.
I store the tokens in a database then use this API call to refresh the tokens (then store them). I went an extra step and check the timestamp of the saved tokens because the tokens expire.
Have you used an SDK in the language of your choice? There's a few SDKs (php node, python, etc.) here.
Hi @Mike_Eastwood , thnak you. i have build an application for oauth and its working, now trying to integrate it into the main application.
there is confusion in my mind as access token expires in 30 Mins, will it use the refresh token while browing the web app and autometically get the new access token? this is what i understood so far.
I feel your pain – it took me ages to work it out.
I store the tokens in a database then use this API call to refresh the tokens (then store them). I went an extra step and check the timestamp of the saved tokens because the tokens expire.
Have you used an SDK in the language of your choice? There's a few SDKs (php node, python, etc.) here.