Remote Control for all devices running Android 7+ is here!

(Incl. Google Pixel series, Xiaomi smartphones, Oppo devices, and many more)

Learn more

Posted by

Authorization code


When I call the URL in order to get the autorisation code, I am redirected to the URL whithout the code parameter in the URI as mentionned in the web document TeamViewer_API_Documentation.pdf (3.8.1 GET

Am I missing samething ? Is it the right way to generate the Autorization code ?


1 Reply
1 Reply
Posted by TeamViewer Star
TeamViewer Star

Re: Authorization code

Hi @kdpp,

yes! The flow is correct. It is a standard ping-pong of an exchange via OAuth2. As specified in the manual: "The client is redirected to the redirection endpoint, which is specified when creating an application in Management Console, after the interaction with the authorization endpoint is completed. Values added to the redirect_uri:...". -> So you must authenticate.

After correct authentication, you will be redirect to your "https://client.example./cb", with your state parameter, plus code that can be used to get an access token.



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.