Announcements

Did you already try the new Windows 10 October 2020 Update?


Share your feedback and experience with TeamViewer on the new Windows build with our developers here.

Highlighted
Posted by TeamViewer Star
TeamViewer Star

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
Posted by TeamViewer Star
TeamViewer Star
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
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.

View solution in original post

1 Reply
Posted by TeamViewer Star
TeamViewer Star
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
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.

View solution in original post