✅ [Solved] Custom Actions: what can i do and cannot?

i just figured out how to get my custom GPT access a public endpoint I owned usign a GET request.

I built the endpoint in python.

In my mind, there are 6 use cases:

  1. GET public endpt :white_check_mark:
  2. POST public endpt :white_check_mark:
  3. GET private endpt (need to use API secret key)
  4. POST private endpt (need to use API secret key)
  5. GET private endpt while able to identify the user (not sure how. maybe oAuth)
  6. POST private endpt while able to identify the user (oAuth?)

My narrow question is whether i can identify the user of the GPT as a user of my endpoint service using oAuth? i.e. case 5 and 6

My broader questions are what can i do or cannot do with Custom Actions?

Thank you

1 Like

in regards to the narrow question, you definitely can.

pluginlab.ai has a simple solution for this that integrates Oauth everytime someone uses the Action for the first time and allows things like Quotas, Plans, gated routes.

1 Like

Thank you, Duncan

Have you actually tried it personally?

Try this GPTs : https://chat.openai.com/g/g-dVQNBgzdG-appcreator, I believe all your question would be solved easily and more than that when you develop any kind of GPTs!

Hey mate, and welcome to the community forum!

This is in the works as far as I know, and should be possible very soon if not already. 3 & 4 (service level auth) is already possible, I tested it myself yesterday, so let us know if you’re having issues with this.

I’ve so have so far hooked up my GPT to over 200 smart device’s in my home (at the same time)

Haven’t hit any kind of limitations yet, so I’d say go nuts! :hugs:

4 Likes

yeah, for three of my plugins/actions/GPTs.

1 Like

SO what do you use for service level auth? OAuth or just simple API secret key?

I want to ! :smile:

Right now I’m just using an API key & bearer token, haven’t played around with o-auth yet.

The interface looks like this, you just paste your stuff in there and press save.


Make sure to NOT include your authentication specifications in the API schema, that’s what the UI is for!

1 Like

I spoke with pluginlab.ai founder. Basically he says they concentrating on plugin not action

However, the good news is that I figured out how to use oAuth within GPT action.

Thank you, N2U

I just figured out how to use oauth. So, I’m closing this thread as solved.

1 Like

In my mind, there are 6 use cases:

  1. GET public endpt :white_check_mark:
  2. POST public endpt :white_check_mark:
  3. GET private endpt (need to use API secret key)
  4. POST private endpt (need to use API secret key)
  5. GET private endpt while able to identify the user :white_check_mark:
  6. POST private endpt while able to identify the user (almost trivial)

Since I have solved 5, therefore 3 and 4 are not needed and 6 is almost trivial.

Now marking this thread as solved

1 Like

As this topic has an accepted solution, closing topic.

2 Likes