Before creating your container, you'll need to create a GitLab app for your organisation.
Creating a GitLab app
From GitLab, click on your profile picture and chose "Preferences":
Then "Applications" from the left-hand menu:
Give the app a name. The authorization callback is the important bit. It needs to be in this form:
Important: Ensure there is no backslash at the end of the "Redirect URI" (i.e. it matches the above pattern)
Ensure you grant it the "
Once you create, keep a note of the Client ID and the Secret:
Connect your Nx Cloud installation to your new app
Provide the following env variables to the
If you are running an on-premise version of GitLab, you will need to configure one additional environment variable:
This will point all the auth endpoints to your GitLab server (rather the public one).