outlook-matters
outlook-matters copied to clipboard
LDAP instead of classic username/email auth?
Hello, we are using LDAP authentification in my team, could you please consider to integrate this functionnality as login instead of classic username/Email auth?
I tried to auth with my username from my ldap, but it is not working.
Thanks a lot
@sof75 same problem for me too ;-)
This is slightly related; @makmu Since moving to Api V4 also enables User Private Tokens, I believe it would be easy to add either username/password login, or Private Token for login. This way you can post as the user dependless of auth scheme, as long as the Mattermost administrator enables the tokens for the user.
@rhassa @makmu Mattermost encourages my proposal too for this;
- Personal access tokens do not expire. As a result, you can more easily integrate with Mattermost, bypassing the session length limits set in the System Console.
- Personal access tokens can be used to authenticate against the API more easily, including with AD/LDAP and SAML accounts.
- You can optionally assign additional roles for the account creating personal access tokens. This lets the account post to any channel in Mattermost, including direct messages.
https://docs.mattermost.com/developer/personal-access-tokens.html
I am also using LDAP and would like to see this feature.