How do I get my OAuth 2.0 access token

Hi,
I am looking to integrate Tulip with Oracle ERP using REST APIs and Authentication method would be OAuth 2.0

Tulip connector can request the Token from Oracle ERP?

I tried to follow the steps mentioned in the below KB article, but didn’t succussed:
https://support.tulip.co/docs/oauth20-configuration-and-technical-details

Can anyone help me to configure the Tulip connector to request the Token from server (Oracle ERP)
I have the details for the below:
• Token URL
• Client ID
• Secret
• Scope
• Request Header
• Server address (endpoint)

Do we need any other info?

Thanks,
Shrinivas.

1 Like

Hi there!

Can you tell us a bit more about where you are getting stuck? Is there an error you are seeing?

Is this question related to this post as well, or separate? Error while requesting the token using the OAuth 2.0 authentication

Hi Beth,

Yes. I was referring to the below post:
Error while requesting the token using the OAuth 2.0 authentication

I was able to make some progress. I am able request and get the Token from Authentication server.

If I pass the all the required parameters from the “Request Body”. Then I am able fetch the Token

I get below error. If I try to pass the parameters from the Connector “Environment Settings” page :

Function Test Error

There was an error while testing the function: [500] OAuthError: OAuth Token Refresh Response Invalid - Error refreshing OAuth token: invalid_request: AADSTS900144: The request body must contain the following parameter: ‘grant_type’. Trace ID: 021af03e-e5b0-4b11-bc1d-7889a7390500 Correlation ID: 766bcbb4-681c-43d2-9b3e-5b759e119628 Timestamp: 2024-11-07 08:31:49Z

Thanks,
Shrinivas

I am also having the similar error. Have you found a solution?

Solution is posted in this thread! Error while requesting the token using the OAuth 2.0 authentication - #8 by Shrinivas.Kandakur