Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Configuring Taiga to login via GitLab #15

Open
nemonik opened this issue May 26, 2021 · 3 comments
Open

[BUG] Configuring Taiga to login via GitLab #15

nemonik opened this issue May 26, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@nemonik
Copy link

nemonik commented May 26, 2021

Describe the bug

https://github.com/kaleidos-ventures/taiga-docker/#gitlab-settings

As well as, section 1.5 under "Gitlab settings" https://docs.taiga.io/setup-production.html#setup-prod-with-docker

Explains how to configure Taiga to login via GitLab, but this feature when configured does not appear to work nor are the scopes one must configure in GitLab (https://{YOUR-GITLAB}/admin/applications

How can we reproduce the behavior

Configure as your documentation describes with a self hosted GitLab, such as https://github.com/sameersbn/docker-gitlab

Workarounds

N/A

Screenshots

N/A

Taiga environment

Self-hosted. Nothing in logs from tagia-front nor taiga-back.

Arch Linux latest Chrome browser

Additional context

N/A

@nemonik nemonik added the bug Something isn't working label May 26, 2021
@nemonik nemonik changed the title [BUG] [BUG] Configuring Taiga to login via GitLab Jun 1, 2021
@nemonik nemonik changed the title [BUG] Configuring Taiga to login via GitLab [BUG] [Documentation] Configuring Taiga to login via GitLab Jun 1, 2021
@nemonik nemonik changed the title [BUG] [Documentation] Configuring Taiga to login via GitLab [BUG] Configuring Taiga to login via GitLab Jun 1, 2021
@nemonik
Copy link
Author

nemonik commented Jun 10, 2021

🦗 🦗

@tdelatorre
Copy link
Contributor

Hi @nemonik

To add a new application in Gitlab:

  1. In the top-right corner, select your avatar and edit profile.
  2. In the left sidebar, select Applications.
  3. Enter a Name, Redirect URI and read_user scope. The Redirect URI is the URL where users are sent after they authorize with GitLab (your Taiga URL).
  4. Select Save application. GitLab displays:
    Application ID
    Secret
    (more info about apps in gitlab here)

Then, set variables in docker-compose.yml and remember change PUBLIC_REGISTER_ENABLED value to "True" (by default is "False") as the documentaton in "1.5. Customisation" explains.

I hope this helps and thanks for you report! We are going to improve this part of the documentation.

@JudgeGregg
Copy link

I had to use the following redirect_url in Gitlab: "https://taiga.example.com/login". The "/login" path is not mentioned anywhere in the doc AFAIK. If you could mention it would be great :)

Thank you for your work on Taiga !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants