Cannot set up OAuth in Matillion

I am trying to setup OAuth with client id and client secret, but it dos not work… These are the steps I followed.

Project → Manage Oauth

Name - AppName
Service - API

Click Settings

Grant Type - Client Credentials
Added Access Token URL, Client ID and Client Secret… Click Next

Now nothing happens, all I see is
Fetching OAuth tokens… for quite long time. Am I missing something? The same secret work with curl or python script…

1 Like

Hi @srinivaspach and welcome to the community!

Have you read through the documentation for OAuth? You can find it here.

I did note in your list that you had everything but you haven’t mentioned the Access Token URL. Have you added that? If you have added that and the rest of the documentation doesn’t help, let me know and we can have another look.

Many thanks, Claire

Hello Claire,

I mentioned that I have added the the Access Token URL already. Please take a look at the issue. For Client Credentials do I need the Redirect URL?

Hi @srinivaspach,
I’m sorry, I meant the Auth URL and not the Access Token URL. Let me know if you have that and in the mean time I’ll investigate further.

Many thanks,
Claire

hi @ClaireSeniorCommunityManager, am also facing the same issue, and per your suggestion, I was looking for Auth URL field but I see it under Grant Type “Authorisation Code” but not under “Client Credentials”. Could you pls advise.

Regards,
Kumar.

Hi @Kumar and @srinivaspach, I’ve discussed this with the team, would you be able to share your server logs so we can take a closer look, please? Feel free to send me a direct message with the information if you’d prefer.

Many thanks,
Claire