Jump to content
Welcome to our new Citrix community!
  • 0

Postman authentication ends with site cant be Reached


Question

Hi Team

 

when i try to connect the Sharefile API with the generated token from sharefile API website, in Postman i am able to go with auth 2.0 with toke, request url,... It also asks for the company account validation after giving all user credentials and otp from system, it will end up saying "Site Cant b reached"

 

Requesting help if any has faced similar issue and what can be done to fix the issue.

Appreciate the help in advance

 

Thanks

Srinivas

API.png

Link to comment

2 answers to this question

Recommended Posts

  • 0

Hi Srinivas,

 

It sounds like your API token may not be configured with the correct Redirect URI. When creating a token via https://api.sharefile.com/apikeys you want to set Redirect URI
to  https://www.getpostman.com/oauth2/callback

 

 

If that doesn't clear it up, I'd make sure to double check your authorization settings in Postman. It should look like below:

 

Header Prefix: Bearer

Grant Type: Authorization Code

Callback URL: https://www.getpostman.com/oauth2/callback

Auth URL: https://secure.sharefile.com/oauth/index.aspx?redirect_url=https://www.getpostman.com/oauth2/callback

Access Token URL: https://secure.sharefile.com/oauth/token?grant_type=authorization_code

Client ID: <clientid>

Client Secret: <clientsecret>

Client Authentication: Send as Basic Auth header

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...