Hi @xgerber,
This token does not work as an OAuth2 token that has a way to use a refresh token for that, in this case you'll need to call login
again.
However the OAuth 2.0 Service Provider is being added in Mattermost 3.3
and is being release the 16th of August, right now you have Mattermost 3.3 RC4
available if you want to test that functionality, but you'll have to wait a little longer for the documentation on how te set it up.
Can you please add [SOLVED] at the beginning of the thread title if you feel that you're answer has been in fact solved.
Hope it helps