Announcements

TeamViewer IoT is hiring! Check out the open positions here!

Highlighted
Posted by EspyM
Henagon

getting autorization authorizationCode

I'm looking for the authorzation code for my app!

after following all the process given in the documentation example for managing user with python , I'm getting this error:

you cannot grant access to this app, because your account does not have the permissions.....

before getting The AUthorizaion code!

Any help?

1 Accepted Solution

Accepted Solutions
Posted by DomLan
Heptagon
Solution

Re: getting autorization authorizationCode

Hi EspyM,

when you configure your App, you to set the privileges to ask to the user:
- Access to the account;
- Read/Modify the connections;
- Read/Modify groups;
...and so on.

During the OAuth process, the following happens:
- Your application redirects the request of the User, to the TeamViewer login page;
- User enters his credentials;
- (Only the first time) TeamViewer shown to your User what information/activities your App intend to access;
- The user has to confirm/accept (or reject) this kind of access.

What you are experiencing, as I understand, it is that the user is shown the request that your App is doing, but the User does not have sufficient privileges.
An example of this occurs when:
- The App requires you to edit the connections and the User does NOT have the privileges to do so;
- The App requires you to modify groups and the User does NOT have the privileges to do so.

What you can control, being able to configure and App and Users via TeamViewer Management Console, such privileges are granted to that specific User.

Please also note that, if the user who accesses your App has own license but less than 10 (minimum version required for this type of integration), it will not be possible to carry out the integration.

If there are no version problems, but the account properties is not in your availability, you will need to:

- ask what kind of privileges are available for the Use...

or

- lower privileges required by your App.

Hope this help

(please also visit https://community.teamviewer.com/t5/Ideas/API-Documentation-Oauth/td-p/3446)

Regards

Domenico Langone
MCSD: App Builder
4 Replies
Posted by DomLan
Heptagon
Solution

Re: getting autorization authorizationCode

Hi EspyM,

when you configure your App, you to set the privileges to ask to the user:
- Access to the account;
- Read/Modify the connections;
- Read/Modify groups;
...and so on.

During the OAuth process, the following happens:
- Your application redirects the request of the User, to the TeamViewer login page;
- User enters his credentials;
- (Only the first time) TeamViewer shown to your User what information/activities your App intend to access;
- The user has to confirm/accept (or reject) this kind of access.

What you are experiencing, as I understand, it is that the user is shown the request that your App is doing, but the User does not have sufficient privileges.
An example of this occurs when:
- The App requires you to edit the connections and the User does NOT have the privileges to do so;
- The App requires you to modify groups and the User does NOT have the privileges to do so.

What you can control, being able to configure and App and Users via TeamViewer Management Console, such privileges are granted to that specific User.

Please also note that, if the user who accesses your App has own license but less than 10 (minimum version required for this type of integration), it will not be possible to carry out the integration.

If there are no version problems, but the account properties is not in your availability, you will need to:

- ask what kind of privileges are available for the Use...

or

- lower privileges required by your App.

Hope this help

(please also visit https://community.teamviewer.com/t5/Ideas/API-Documentation-Oauth/td-p/3446)

Regards

Domenico Langone
MCSD: App Builder
Posted by EspyM
Henagon

Re: getting autorization authorizationCode

Ok! Thanks for the clarification!

so my next question is how to get thoses privileges?

I've just create my acount yesterday i doesn't have any license ! I'm testing if it can fit to my project

Posted by DomLan
Heptagon

Re: getting autorization authorizationCode

Hi EspyM,

try to use Management Console Web of TeamViewer. You can reach it in these alternative ways:

a) TeamViewer -> Connection -> Open Management Console;

b) Teamviewer computer and Contact list -> box with 3 lines -> Open Managemen Console;

c) login at https://www.teamviewer.com

There is a manual detailing how to use it: https://www.teamviewer.com/en/support/documents/

I hope this helps

Regards

 

Domenico Langone
MCSD: App Builder
Posted by DomLan
Heptagon

Re: getting autorization authorizationCode

And here https://community.teamviewer.com/t5/TeamViewer-12/Intro-to-User-Management-Video/m-p/4362#M1433 

Hope this helps!

Regard

Domenico Langone
MCSD: App Builder