Join the conversation

Sign in to join this conversation, and others like it, in the communities you care about.

Wekan

Wekan is an open-source kanban board (Trello like) which allows a card-based task and to-do management.

Wekan / Bugs

Wekan OIDC login with Gitlab

Wekan OIDC login with Gitlab

Wekan / Bugs · September 17, 2023 at 7:08am (Edited 1 year ago)

I hope I can change the login in method in Wekan from password to OIDC. I use Gitlab as my Oauth provider, and I already set all the things up as you can see in the picture below. However, I still cannot see the OIDC login buttom when I open the app. If I go to http://localhost:3000/_oauth/oidc the error below will occur: (oauth_server.js:406) Error in OAuth Server: Service not configured

Could someone please give me some hint about this error? I have stuck in here for few weeks...

  • My Gitlab settings
post1.png
  • Settings in docker-compose.yml
    • OAUTH2_ENABLED=true
      • OAUTH2_LOGIN_STYLE=redirect
      • OAUTH2_CLIENT_ID=xxx
      • OAUTH2_SECRET=xxx
      • OAUTH2_SERVER_URL=xxx
      • OAUTH2_AUTH_ENDPOINT=/oauth/authorize
      • OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo
      • OAUTH2_TOKEN_ENDPOINT=/oauth/token
      • OAUTH2_ID_TOKEN_WHITELIST_FIELDS=""
      • OAUTH2_REQUEST_PERMISSIONS=openid profile email
      • OAUTH2_ID_MAP=sub
      • OAUTH2_USERNAME_MAP=nickname
      • OAUTH2_FULLNAME_MAP=name
      • OAUTH2_EMAIL_MAP=email

I really appreciate any sharing and help!

Load previous messages

September 17, 2023 at 5:17pm

My gitlab setting for Callback URL is http://localhost:3000/_oauth/oidc and I also change the OAUTH2_SERVER_URL variable in wekan to my gitlab's path. I really appreciate your help!

    • reply
    • like

    June 6, 2024 at 7:35am

    Hi:

      • reply
      • like

      Have you solved the problem?

        • reply
        • like

        I've met the question as you too

          • reply
          • like