Search
⌃K

Login with GitLab

To enable GitLab Auth for your project, you need to set up a GitLab OAuth application and add the application credentials to your Teta Auth.
Authentication comprises of following steps:
  1. 1.
    1. 3.
      Copy your new OAuth credentials
  2. 3.

1. Create and configure a GitLab Project

1.1 Access your GitLab account

1.2 Register your application

  • Click on your Profile Icon and go to Preferences.
  • From there go to Applications.
  • Insert Name and Redirect url, then select the scopes you need.
  • Click on Save application.
Callback URL
https://auth.teta.so/auth/gitlab_callback

1.3 Copy your new OAuth credentials

  • Your credentials are in the Application Dashboard, it will be shown after saving your app.
  • To find it afterwards, go in the Application section and find your app at the bottom of the page

2. Adding credentials to Teta

You must add the App credentials to your Teta project.
To add the credentials:
  • Select a Teta project and navigate to Teta Auth.
  • Select Settings.
  • Find GitLab and enter the credentials.
  • When you are done, save.

3. Adding a Login Action

  • Place a Login with GitLab element in your project.
  • Select it and go to Actions.
  • Add an On tap action, then select the GitLab option under Teta Auth.