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

Authentication: Session lifecycle #41

Open
3 tasks
valeriansaliou opened this issue Jun 17, 2022 · 0 comments
Open
3 tasks

Authentication: Session lifecycle #41

valeriansaliou opened this issue Jun 17, 2022 · 0 comments
Labels
enhancement Improvement request
Milestone

Comments

@valeriansaliou
Copy link
Member

valeriansaliou commented Jun 17, 2022

  • Improve login (to its final state)

    • Description: The login form could not be implemented to 100% state due to missing server feature.
    • ⚠️ Concerns:
      1. We need to implement a way for tokens to be generated by the server (pretty much like most modern REST APIs work). A token should be revocable from any connected application, eg. if the user lost their device. Not sure a XEP exists for that, in any case we may need to create a Prosody module as well;
      2. Find a clean way to protect account credentials (JID + password) w/ an additional TOTP token (there should be a XEP for that, we also need to look for a Prosody module);
  • Connect using session tokens

    • Description: Re-using the session tokens generated by the server (not possible ATM, see concerns above).
  • Ability to logout and destroy session tokens

    • Description: Ability for the user to remove an account from the Prose app, which would need to destroy the session tokens from the server (not possible ATM, see concerns above).
@valeriansaliou valeriansaliou added the enhancement Improvement request label Jun 17, 2022
@valeriansaliou valeriansaliou moved this to Todo in Prose App MVP Jun 17, 2022
@valeriansaliou valeriansaliou added this to the MVP milestone Jun 17, 2022
@RemiBardon RemiBardon moved this from Todo to Stale in Prose App MVP Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement request
Projects
Status: Stale
Development

No branches or pull requests

1 participant