mattermost / mattermost-plugin-gitlab

GitLab plugin for Mattermost
Apache License 2.0
141 stars 85 forks source link

Can't add new gitlab instance #455

Closed markim closed 9 months ago

markim commented 9 months ago

As a gitlab administrator, I added a new application to start the oauth flow.. Got my client ID, client secret. Went to mattermost, using this plugin and typed /gitlab setup and started following the prompts.

The token that gitlab (latest version 16.8) looks like this:

gloas-aedea98a0146ee201eed74bfe11079551234567898f7ac65314774764a5fc36a

and when I go to enter it, it says that it must be 64 characters. It is 64 characters long, if you subtract the gloas- part from it. Gitlab must have added this in a later version.

What do you think?

Thanks,

Mark

markim commented 9 months ago

Additionally, removing the gloas- piece will allow the front end validation to succeed for the 64 characters, but you will get a 401 error when trying to finish registration.

markim commented 9 months ago

Error on my end. Not using the instructions correctly.