Skip to content
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

Support XEP-0484: Fast Authentication Streamlining Tokens #3144

Open
Menelmacar opened this issue Feb 20, 2023 · 2 comments
Open

Support XEP-0484: Fast Authentication Streamlining Tokens #3144

Menelmacar opened this issue Feb 20, 2023 · 2 comments
Labels

Comments

@Menelmacar
Copy link

Is your feature request related to a problem? Please describe.
If the page reloads, the user is logged out and can't reconnect easily.

Describe the solution you'd like
To enhance the behavior of a reload fo the website, the browser could store a time limited secure token and reuse it to auto_reconnect. Like what prosody recently made possible: https://modules.prosody.im/mod_sasl2_fast.html

Describe alternatives you've considered
The possibility to use "reuse_scram_keys" is already a great enhancment.
a secure token would be similar in the user experience I guess, but even more secure.

@based-a-tron
Copy link

I wouldn't be opposed to looking at this if ejabberd adds support for it.

@jcbrand jcbrand added the Feature label Mar 1, 2023
@Menelmacar Menelmacar changed the title Support for sasl2_fast secure token Support XEP-0484: Fast Authentication Streamlining Tokens Jun 24, 2024
@Menelmacar
Copy link
Author

Menelmacar commented Sep 6, 2024

I found a nice example of this working in practice.
This program makes use of it. The password isn't even saved in the browser as far as I see. Only the token. (but I'm no developer, so I don't know if this is helpful for conversejs or not)

https://github.com/snikket-im/snikket-sdk
https://app.cheogram.com/

@conversejs conversejs deleted a comment from JatinSainiOO7 Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants