Open steffen74 opened 10 months ago
Here another page describing the solution via GitLab: https://devopstales.github.io/home/mattermost-keycloak-sso/
One important note to add: Mattermost does not unify email and SSO accounts! If login works after the mattermost modifications, we will still have to port all user accounts from email login to sso via SQL directly in the database.
Write a customer announcement
You can now login to Mattermost using your EduHub account.
Is your feature request related to a problem? Please describe. Currently users need two accounts one for EduHub and one for Mattermost
Describe the solution you'd like
The following blog describes a workaround using the GitLab SSO that is included in the teams license: https://medium.com/@mrtcve/mattermost-teams-edition-replacing-gitlab-sso-with-keycloak-dabf13ebb99e
The user id needs to integer. Therefore a "second" user id (additional to the UUID)) has to be included in the User table that includes a unique identifier that is only integer. The column name should "idInteger". The comment field should include: "Needed to allow SSO with mattermost which needs an integer id to use the workaround via GitLab.