Closed DatadudeDev closed 10 months ago
Hi @DatadudeDev, thanks for filing this issue. This issue is fixed via https://github.com/mattermost/mattermost-plugin-gitlab/pull/419, but has not been released yet. I think this issue warrants its own patch release so we will have this available soon
Enter your oauth credentials directly into the plugin config via system console. The input field allows the entire secretkey, including the prefix.
It seems this has been solved on your end. I'll go ahead and close this for now. Let me know if you have any questions. Note that we are in the process of releasing the fix as mentioned above.
Thanks @DatadudeDev!
thanks folks!
Installed the plugin and attempted to setup oauth via the chatbot (slash commands):
/gitlab setup oauth
I followed the prompts for creating an application. The prompts are slightly outdated (no longer a token expiry option).
Arrived at the section to enter the clientID and secretkey.
#########################################################################################
Expected behaviour:
The clietnID and secretKey are accepted and oauth works without issue.
#########################################################################################
Actual behavior:
The secretkey is not accepted, citing 64 max characters while the gitlab secretkey is 70 characters (because of the "gloas-" pewfix.
The chatbot wil not accept the secretkey unless the prefix is trimmed, but then oauth fails with the following error:
#########################################################################################
Temporary fix:
Enter your oauth credentials directly into the plugin config via system console. The input field allows the entire secretkey, including the prefix.