mailcow-dockerized icon indicating copy to clipboard operation
mailcow-dockerized copied to clipboard

Attempt Base64-Decoding of mailcow_password when using Mailpassword

Open MCMDEV opened this issue 1 year ago • 2 comments

Summary

Attempt to Base64-Decode the value of mailcow_password before denying login when using the Mailpassword Flow in the SSO feature of the nightly branch.

Motivation

This would enable easy integration when using an LDAP Backend. The userPassword could simply be mapped to mailcow_password in Keycloak.

Additional context

No response

MCMDEV avatar Nov 28 '23 20:11 MCMDEV

+1 from me, this would really help! AFAIK all DS are responding to a userPassword request with a base64 encoded value. I've searched for something like Attribute Transformation in Keycloak but no luck. I'm wondering how the LDAP feature is intended to work with the mailcow_password then...

flischi avatar Jan 19 '24 07:01 flischi

+1 same for me. Stuck at base64 encoded value from openldap.

m-lindemann avatar Jan 24 '24 13:01 m-lindemann