Connecting GitLab Login

To let users of your service sign up with a GitLab account, you first register your service with GitLab and receive an Application ID and a Secret.

This page covers the order in which you receive the Application ID and the Secret. Putting the two values you received into WEEGLOO is covered in Putting the Application ID and Secret into WEEGLOO.

Getting the Application ID and Secret from GitLab

Sign in to GitLab, then work through the two steps below in order. What you do here costs nothing.

1

Registering an application

  1. Open the applications screen (https://gitlab.com/-/user_settings/applications (opens in a new tab)).

  2. Click Add new application.

    The Applications screen. It holds the Your applications and Authorized applications areas, the list is empty, and the Add new application button is at the top right

  3. In Name, enter the name of this application (for example, Cozy Closet).

  4. In the Redirect URI box, paste the address below. Pick your Space and the identifier is filled in.

    Space
    https://auth.weegloo.com/v1/spaces/{spaceId}/login/oauth2/code/gitlab

    If you are not sure which Space is yours and you have handed the integration to an AI agent, you can also ask the agent. Ask in the chat, "Tell me the redirect address to register with GitLab Login", and you receive the finished address.

    Confidential below it is on from the start, and WEEGLOO receives and keeps the Secret, so leave it on.

    The Add new application form. Name holds "Cozy Closet", Redirect URI holds the WEEGLOO address, and the Confidential checkbox below it is checked

  5. In Scopes, check only read_user. You have to choose at least one scope before the form will save.

    The Scopes list. api and read_api are off, and only read_user is on

  6. Click Save application at the very bottom of the form.

2

Copying the Application ID and the Secret

When you click Save application, the screen of the application you just created opens. The Application ID and the Secret you will put into WEEGLOO are here.

You can see the Secret only this once

Application ID stays on this screen, so you can see it again whenever you want. The Secret does not. If you lose it, create a new one with Renew secret, and put the new value into WEEGLOO again. The Secret is a secret value. Do not tell it to anyone, and do not write it down anywhere public.

  1. Click the copy icon to the right of Application ID to copy the value.

  2. Click the copy icon to the right of Secret to copy the value.

    The Application ID value, the hidden Secret, the Renew secret button next to it, and the notice that the Secret can be seen only this once are visible

Putting the Application ID and Secret into WEEGLOO

Now you have the Application ID and the Secret in hand. From here the path splits depending on how you have been working so far.

If you were configuring this directly in the content studio, follow these steps.

  1. Go back to turning on social login in Service Member Login.
  2. Turn on GitLab.
  3. Enter the Application ID in the Application ID box in Step 2.
  4. Enter the Secret in the Secret box.
  5. Click Save.

If you handed the integration to an AI agent and were told to go and get the Application ID and the Secret, paste the two values you received into the chat as they are and carry on with what you were doing. The agent handles the rest of the configuration from there.

What to do next

  • Service Member Login: put the values you received into the content studio and finish the rest of the member login configuration.
  • Member Roles and Permissions: create the ServiceUserRole that decides what a signed-up member can see and use.
  • Auth API: covers technical specifications such as the request format you need when wiring login into your own site's code.