#Custom GPTs - does it support Actions using client_credentials grant type for OAuth flows?

1 messages · Page 1 of 1 (latest)

drifting vapor
#

Is it possible to interact with a REST API, while using the grant type of "client_credentials", starting with a ClientID and ClientSecret to generate a BEARER Token, but NOT going through the user-generated flow for authorization_code the grant type - to me the available Authentication configuration settings don't allow for anything but flows that include user redirection to an authentication UI.

For example - this is impossible to achieve based on my tesing:

curl --request POST 'https://auth.xxyyyzzz.com/oauth/v2/token'
--header 'Content-Type: multipart/form-data'
--form 'client_id="<CLIENT_ID_HERE>"'
--form 'client_secret="<CLIENT_SECRET_HERE>"'
--form 'grant_type="client_credentials"'
--form 'scope="gpt.actions"'

I've come across similar reports across developer support forums and blogs, but have not seen a working solution for "client_credentials" flows.

Thanks in advance bot!

mortal impBOT
#

Hi @drifting vapor. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Hmm, I don't know enough to give you a confident answer yet. Based on the knowledge sources provided, there is no specific information about using the "client_credentials" grant type for OAuth flows in Custom GPTs. The examples and instructions available primarily focus on the "authorization_code" grant type, which involves user interaction for authentication.

For more detailed guidance, you might want to refer to the OpenAI documentation or explore developer forums for any updates or community solutions regarding the "client_credentials" grant type in Custom GPTs.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@drifting vapor Kapa.ai is still learning and improving, please let me know how I did by reacting below.