kamax-matrix / mxisd

Federated Matrix Identity Server
GNU Affero General Public License v3.0
223 stars 115 forks source link

Trouble Shooting Authentication Module #105

Closed lancewest closed 5 years ago

lancewest commented 5 years ago

Hi,

How can I trouble shoot my MXISD setup? I'm specifically interested in debugging the authenticaiton module which I have setup to use a "REST Identity Store".

When I tail -f /var/log/syslog and then try to login via Riot I get the error "Incorrect username and/or password." in riot, but I see nothing appear in syslog.

Thanks for any help! -Lance

P.S. A side question which I suspect is related to my issues: Why I am instructed in both of these two places to setup a rest endpoint which validates credentials? Are both of these necessary? 1) https://github.com/kamax-matrix/matrix-synapse-rest-auth 2) https://github.com/kamax-matrix/mxisd/blob/master/docs/stores/rest.md

maxidorius commented 5 years ago

tail -f /var/log/syslog is the correct way. You simply did not install the synapse REST password provider, given the steps on how to enable/configure the Authentication feature.

The project referenced by 1) is how synapse is linked to an external authentication source, in this case mxisd. 2) is how mxisd is told where to find the relevant info for the various features, Authentication included. This overview diagram explains how everything interact together.

maxidorius commented 5 years ago

Closing due to lack of activity. Please re-open if you are still having issues.