TeamDesk Knowledge Base & Support

   Home      FAQ      Forum      Idea Exchange      Ask a Question      My Stuff      Help   
  
Box.com API connexion - OAUTH
Hello to you all

I am struggling to connect TeamDesk to box.com API and I wonder if somebody could help me do this. This involves an OAUTH authentification.

As far as I understand, box.com provides token which are valid for one hour.
- The initial token have to be requested with OAUTH / this I am failing to do
- The successive tokens are refreshed without OAUTH. This I can do. I am using Integromat to create a refresh request every 50 minutes.

To make the OAUTH authentification, I am trying to use the OAUTH teamdesk system, which requires the following fields (Call workflow action with Generic :

1. Authorization URL
2. Token URL
3. Client ID
4. Client Secret
5. Scope

Box.com instructions (https://developer.box.com/guides/authentication/oauth2/without-sdk/) explain items 3,4,5, and REDIRECTION URL but not:
1. Authorization URL
2. Token URL
Could you explain what I should use in AUTHORIZATION URL and TOKEN URL ? Is any of them the same thing as REDIRECTION URL ?

Kind regards,

Pierre



ID
1466
Category
Integration/API
Author

Pierre
Date Created
9/13/2021 6:38:30 AM
Date Updated
9/13/2021 10:20:32 AM
Comments
Pierre 9/13/2021 10:20:32 AM
I found the solution to my issue:

Solved !
1) I was using the wrong OAUTH choice in Box.com; the correct one is OAuth 2.0 (User or Client Authentication)
(not with Grant Certificate)
2) When you choose this option, Box.com provides the correct redirect URI
3) Authorization URL is:
https://account.box.com/api/oauth2/authorize?client_id=CLIENTIDHERE&response_type=code&redirect_uri=https://app.box.com
Kind regards,
4) Leave Token URL empty
Pierre
Feedback
Back to Search Results