Highlighted
Posted by
Henagon

webapi.teamviewer.com/api/v1/oauth2/authorize return 404 - File or directory not found.

Hi, 

We have been using the API without any issues for some time. 

Today I checked and got error 404 for this API:

https://webapi.teamviewer.com/api/v1/oauth2/authorize?response_type=code&client_id=<...>&redirect_ur...

Any idea why? Did the API change? Does it work for you?

3 Replies
1 Accepted Solution

Accepted Solutions
Highlighted
Posted by TeamViewer Staff
TeamViewer Staff
Solution

Re: webapi.teamviewer.com/api/v1/oauth2/authorize return 404 - File or directory not found.

For OAuth2 you need to use the URL

https://login.teamviewer.com/oauth2/authorize?

This is not an API call, but a plain redirect for passing control to TeamViewer to auth the user. webapi.teamviewer.com/api/v1/ is for API calls. 

Please review chapter 3 from the Web API specs at https://dl.teamviewer.com/integrate/TeamViewer_API_Documentation.pdf

View solution in original post

3 Replies
Highlighted
Posted by
Henagon

Re: webapi.teamviewer.com/api/v1/oauth2/authorize return 404 - File or directory not found.

I'm having the same problem. Need to fix it urgently!

 

Highlighted
Posted by
Photon

Re: webapi.teamviewer.com/api/v1/oauth2/authorize return 404 - File or directory not found.

Getting same problem and it was working before 2-3 weeks.

Highlighted
Posted by TeamViewer Staff
TeamViewer Staff
Solution

Re: webapi.teamviewer.com/api/v1/oauth2/authorize return 404 - File or directory not found.

For OAuth2 you need to use the URL

https://login.teamviewer.com/oauth2/authorize?

This is not an API call, but a plain redirect for passing control to TeamViewer to auth the user. webapi.teamviewer.com/api/v1/ is for API calls. 

Please review chapter 3 from the Web API specs at https://dl.teamviewer.com/integrate/TeamViewer_API_Documentation.pdf

View solution in original post