Configure O.Auth v2 REST API

Help! I'm new to Retool, and I'm having trouble configuring the authentication of an O.Auth v2 REST API in resources. The API has a client_credentials grant type that requires a bearer access token. The API authentication and GET request works in Postman so I think I'm just missing something in Retool. This is the error I keep getting with a GET request:

{
"fault": {
"faultstring": "Invalid access token",
"detail": {
"errorcode": "oauth.v2.InvalidAccessToken"
}
}
}

Photos of what I have set up currently attached as well:

reis api config 1


reis api config 3

Have you read through this doc

Hey @emilyrobison!

It looks like you have the correct Authorization header in your auth verification endpoint but it also needs to be included as one of the headers at the top of the resource setup page:

Can you let us know if that works?

This worked! Thank you so much! :smile:

I have - thanks for reminding me of this resource, though!