-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connecting to a mattermost instance behind gitlab authentication. #279
Comments
I've done some digging and figured out the mattermost server I was connecting too required the cookie I haven't tested sending messages yet, since I'm mainly using it as a watcher for keywords right now, but hope too soon. My forks for those who run into similar problems are:
To login with CSRF/MMAUTHTOKEN you can do: |
@securityinsanity I'm willing to accept PR's to have this supported, feel free to open them. Although, I've did a lot of refactoring the last week, which fixes a lot of issues, also like messaging yourself. |
Thanks @42wim! I'd be happy to provide some though honestly I feel like my current solution is effectively a hack. I'll try to spend some time cleaning it up. |
Did you try matterircd recently ? there has been a lot of refactoring and now MFA is also supported. |
I'm attempting to connect to a materrmost instance behind gitlab authentication, where users are not allowed to create personal access tokens.
Reading #29 it sounded like I could copy the token from the web application, and use that. However while that does show the one message (that I sent!) it fails to see newer messages in a channel, and upon attempting to DM myself to check for newer messages working
matterircd
crashed.Configuration:
What I type in my IRC Client:
Then the behaviour occurs I mentioned above. Upon logging in I see the only message I sent inside the channel I autojoin, but not messages that have occured after my initial message in that channel (nor do I see any other DMs/etc.). When using the web version of mattermost to DM myself to test it shows up on IRC, matterircd crashes, with the following logs:
The text was updated successfully, but these errors were encountered: