Articles on: Authentication

How to configure GitLab login for my PluginLab Portal?

Introduction



PluginLab provides you many sign-in providers to authenticate your users.

GitLab is one of them and may be helpful if you target developers.

In this article, we'll show you how you can configure your OAuth app on your Gitlab Account to connect it with PluginLab Portal.


Important



The most important thing to take from this article is you need to activate some specific scopes to your GitLab OAuth app. These scope are essential for your PluginLab <> GitLab integration to work. This is explained in the sections below.


Getting Started



Go to your Gitlab Account
Click on your profile at the top left corner
Open Edit Profile
Go to Application and click on Create a new application









Don't close the GitLab window and go to PluginLab > Members > OAuth Schema > OAuth
Choose GitLab and open the wizard
Copy the Redirect URI given by PluginLab
Fill the OAuth form on GitLab and paste your Redirect URI








IMPORTANT: Pay attention to the scopes explained below

Before saving, make sure you checked the following scopes: read_user, openid, profile, email.

Save and copy/paste your clientId and clientSecret into PluginLab modal

Complete the wizard and you're done!















Congrats! Your GitLab integration is now configured!

Your users will see the following button in your Portal:





If you installed the plugin with OAuth on ChatGPT already, no extra change is required.

If you've never installed your plugin with OAuth on ChatGPT, then you must install it. You can check this tutorial to learn how to do.


Feeling lost?



Feel free to reach out to us anytime. We'll be more than happy to help and hop on a call with you if needed

Updated on: 29/07/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!