@oliverbusk This is just OAuth. You’d handle it like any other OAuth token.
see that it expires every 30 minutes, so I can imagine that I need to generate a new authorizationCode every 30 minute for the user and get new tokens?
No. You get an access token with a refresh token and the number of seconds in which the token expires. So you need to make sure you refresh the token before that time. It’s also explained in the docs of that very API: https://docs.tink.com/entries/articles/retrieve-access-token#refresh-token
The access token will expire and needs to be refreshed for continued access. This is done with the
refresh_tokenusing the same endpoint as used when exchanging the authorization code for an access token.
So, store the refresh token somewhere and make sure you refresh it before the 1,800 seconds are up otherwise, yes, the access token will have expired and then you’ll need to go through the entire OAuth flow again.