moan0s / matrix-registration-bot

A bot that is used to create and manage registration tokens for a matrix server
GNU Affero General Public License v3.0
64 stars 10 forks source link

400 Bad Request error with forced SSO #32

Open mwinterstorm opened 1 year ago

mwinterstorm commented 1 year ago

image

Hi - I'm getting the above errors when trying to use the bot. I suspect it is something to do with my forcing all logins through SSO with a separate LDAP server. No logins from synapse database.

Bot user is created / registered in synapse and in LDAP - I can log in via single sign on as the bot. I do have 2FA configured on SSO. I believe bot was working prior to requiring login via SSO (i.e. was logging in based on LDAP.

Everything has been installed using the Ansible deployment here.

SSO provider is Authelia / LDAP provider is LLDAP.

Please let me know if I can give you any further info - probably something I have misconfigured as am learning SSO / LDAP.

moan0s commented 9 months ago

Sorry for not reacting to this for so long!

Do you use password based authentication? If so you could try to obtain an access token and avoid the issues with SSO