I am coding a custom API, I was wondering how to authenticate users, for now I have only found a way to authenticate my GPT globally if that makes sense. I want the user to automagically create an account on my service and use that to access my backend api so I can rate-limit/charge/etc.
Any input from OpenAI team or anybody in the know?
I do not think that is a desired feature of GPTs when this was done for Plugins it lead to the usual advertising and limited trail annoyance apps. OpenAI have said they intent to reimburse top GPT creators with a revenue share scheme. I doubt there will be support for making a GPTs users life more difficult.
I do not intend to annoy users, but I get charged as well for the api-calls I make… GPT-rev share is never going to be enough to cover the costs for this application.
But thanks for your input now I know to pursue something else. I wanted to create a keyword/serper/content creation tool, but seems like this is not within the scope of a gpt then. Might have to look at something different to create then.
Not at the moment, but that might be a thing in the future
I’m sure there will be a solution to this at some point, but if you really want to be on the store, then rate limits might be the solution or you could require an oauth verification of the user and use the UID or token from this to identify users in future sessions.
(That’s how it used to work with plugins, I think it’s same here)
Thanks mate!
the documentation is still a bit lacking on the GPT’s and only mentions that there’s different authentication schema’s, there’s the old documentation for plugins here, but you may have to get creative
OAuth should be a pretty flexible tool.
I saw pluginlab ai video on how to create a magic link auth flow for plugin users. I believe it’s the same for GPTs.
Can’t post a link, so look it up in YT: “How to configure Authentication on ChatGPT Plugin (sign-in, sign-up and event tracking)”