Oauth 2.0 fails when trying to add Ramp REST API as a resource

Hi,

I'm trying to add a REST api connection on Retool, with Ramp payment platform.

I'm using the following values for establishing the authentication, but it errors out during the authentication process.

When I contacted Ramp Customer Support, they said the URL includes some parameters with empty values and also some parameters not recognized by their authenticator:

  • Prompt
    • I was able to delete it by selecting "No Prompt" under Prompt section
  • Audience
    • I can't remove this parameter, and it seems like this is required for Oauth2.0, but I'm not sure what to put.
  • access_type
    • The value seems to be "offline" all the time, but I don't know where/how I can remove this.

Any helps would be much appreciated, thanks!

Hi @Minyoung_Kim,

Thanks for reaching out!

To confirm, are you referencing the OAUTH2_TOKEN in your resource config? Usually this looks like adding an Authorization header:

I don't think this is the issue, but I'd also make sure there are no trailing spaces on the scopes field

audience should be an optional field that you can skip if you don't need it