Articles on: Authentication

How to implement OAuth with email for ChatGPT Plugin


OpenAI provides three different authentication mechanisms for your ChatGPT Plugins:

HTTP Level

In this article we are going to focus on OAuth since it's the most convenient way to signup new users when they install your ChatGPT plugin for the first time.

We are going to configure a Passwordless sign-in method.

Note that PluginLab provides multiple sign-in method including third parties like Google. Authenticating your users with a third party such as Google has many advantages that we cover in this article.

If you prefer watching a video

If you are the kind of person who prefers watching a tutorial on your couch, then be our guest. Otherwise, keep scrolling

1. Create and configure your plugin without OAuth

In this tutorial we are going to use the example plugin to get started quickly.

If you want to configure your own plugin directly I suggest you have a look at How to configure my ChatGPT plugin with PluginLab.

If you have any trouble configuring your plugin manifest or OAS, feel free to reach out and we'll do it with you :)

Starting with an example plugin

If you start with the example plugin, no extra configuration is required before starting. This is perfectly suited for you if you just wanna try PluginLab quickly.

2. Configure OAuth on PluginLab

At this stage we assume your plugin is configured properly.

Go to
Click on the Configure button in the OAuth section
Find the Passwordless sign-in method and click on Activate

Passwordless email

3 Proceed with installation on ChatGPT

Now we have everything setup, the last step is to proceed with the installation on ChatGPT.

This step is crucial to get your OAuth flow configured properly.

Go to Manage OAuth Settings
Swich on Define as active schema and confirm
Click on setup

Enabling OAuth Schema

Go to
Open the Plugin store
Click on Develop your own plugin
Paste the given URL and Click on Find manifest
Follow the steps in the PluginLab modal and paste the Client ID and Secret into ChatGPT
Click on Next, copy the verification token value from ChatGPT into PluginLab
Click on next on PluginLab and click on Verify tokens on ChatGPT

Installing the plugin

At this stage, it is simpler to click on Install later (or cancel if you get an error), then install your plugin as unverified plugin to test it as a user.

Cancel the modal
Go to Plugin store
Choose Install unverified plugin
Paste your plugin URL
Proceed with installation and you will get redirected to the user login page

Good job!

Bonus: Add your custom branding

If you wanna customize your Authentication portal you can go to and configure your custom domain.

Congrats you now have a nifty authentication portal

Feeling lost?

Feel free to contact us using the Chatbox on the bottom right corner and we will be more than happy to help!

Updated on: 20/06/2023

Was this article helpful?

Share your feedback


Thank you!