-
Notifications
You must be signed in to change notification settings - Fork 10
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
Detail how to get <access token> in readme #68
Comments
Right. The simplest way is just to copy-paste it from an existing client. However, this has the downside of tying these sessions together: if logging out of that client, both the puppet and the client will be logged out. I suggest opening https://app.element.io in a private browsing session and logging in there to obtain a fresh access token, then giving that to the bridge, and closing the private browsing session. There are other possibilities, including logging in with Mautrix doc (note that it's possible to automatically generate tokens for the local matrix server users, we should probably add support for this somewhere after #24 ): https://docs.mau.fi/bridges/general/double-puppeting.html?highlight=token#manually The Matrix specification regarding this lives there: https://www.matrix.org/docs/guides/client-server-api#login I should probably make a wiki entry or something, or at least link to this answer from the Readme, you are right. |
Thank you for these explanation and I guess it is indeed a good start to make a link to this answer in the Readme. |
When I tried with the access token of my Element desktop, the bot told me : |
Ah, good catch, I didn't think of this. I'm not sure it will work with element.io, then :/ The shared app is indeed a good idea, but that's one more thing admins will need to take care of. |
I tried on app.element.io and I got the same answer from the bot.... |
I suceeded with this command by ssh in my server :
|
Actually, would it not be possible to modify the signalbot command |
It would require changing both the client (Element) and the bot, agree to a protocol, and this might open a whole new can of worms. Unfortunately, password login may be disabled on some servers, making the CURL method impossible to use. Not to mention not user-friendly. |
In the Readme, it is written :
Would it be possible to explain how a user can get this ?
The text was updated successfully, but these errors were encountered: