link icon
Ask The Community

TeamViewer is one of the winners of the European Customer Centricity Award 🥳

Please find more information here.

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 ?



  • DomLan
    DomLan Posts: 490 ⭐Star⭐

    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.