Announcements

Become a product development partner for TeamViewer. Read more about it in our Announcement.

Posted by mLipok
Heptagon

OAuth - question about access token "Time to live"

I get AccessToken with OAuth.
My question is:
How long this AccessToken will be valid ?

Per sessions / number of usage / time limit ?

Regards,
mLipok

 

Regards,
mLipok , AutoIt MVP

Did my reply answer your question? Accept it as a solution to help others.
Find this helpful? Say thanks by clicking on the Thumbs Up button.

1 Accepted Solution

Accepted Solutions
Highlighted
Posted by DomLan
Heptagon
Solution

Re: OAuth - question about access token "Time to live"

Hi,

you can get an Authorization Code from the server (login.teamviewer/oauth2/autorize). This code is valid for 10 minutes.

With this, you require an Access Token via POST (/api/c1/oauth2/token) and this is valid for 3600 seconds, but it can be renewed (refresh) or revocated. Section 2.8.2 in manual.

Regards.

Domenico Langone
MCSD: App Builder
1 Reply
Highlighted
Posted by DomLan
Heptagon
Solution

Re: OAuth - question about access token "Time to live"

Hi,

you can get an Authorization Code from the server (login.teamviewer/oauth2/autorize). This code is valid for 10 minutes.

With this, you require an Access Token via POST (/api/c1/oauth2/token) and this is valid for 3600 seconds, but it can be renewed (refresh) or revocated. Section 2.8.2 in manual.

Regards.

Domenico Langone
MCSD: App Builder