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

XEP-0379: Pre-Authenticated Roster Subscription #127

Closed
ge0rg opened this issue Nov 9, 2018 · 3 comments
Closed

XEP-0379: Pre-Authenticated Roster Subscription #127

ge0rg opened this issue Nov 9, 2018 · 3 comments
Labels
📑 XEP Refers to relevant or issued XEPs 🎉 Feature Idea or new feature to implement

Comments

@ge0rg
Copy link

ge0rg commented Nov 9, 2018

It would be great to have support in Monal for XEP-0379 (and possibly also XEP-0401: Easy User Onboarding.

The suggested components are as follows:

  • Implement QR-code sharing of the user's JID (primary account / choice of accounts), including a PARS token as query parameter
  • implement checking and auto-allowing of incoming presence subscriptions with a valid <preauth token="..."/>
  • implement an OS-level handler for xmpp:JID URIs and possibly also other landing pages (https://yax.im/i/#JID)
  • pass on the preauth query parameter from those JIDs to the outgoing subscription request
@Echolon Echolon added the 🎉 Feature Idea or new feature to implement label Jan 4, 2020
@Echolon Echolon changed the title [feature request] implement XEP-0379: Pre-Authenticated Roster Subscription Add XEP-0379: Pre-Authenticated Roster Subscription Jan 4, 2020
@Echolon Echolon added the 📑 XEP Refers to relevant or issued XEPs label Jan 4, 2020
@Echolon Echolon changed the title Add XEP-0379: Pre-Authenticated Roster Subscription XEP-0379: Pre-Authenticated Roster Subscription Apr 30, 2020
@tmolitor-stud-tu
Copy link
Member

@ge0rg thanks for your description what to do. these steps are very helpful to understand how those xeps work.

@ge0rg
Copy link
Author

ge0rg commented Oct 5, 2020

There was an unfortunate divergence between the XEP and what got implemented in prosody and yaxim, see xsf/xeps#874 for background info

The implemented variant is documented here: https://docs.modernxmpp.org/client/invites/

Prosody has gone even further and made it a sleaker UX, see https://blog.prosody.im/great-invitations/

@tmolitor-stud-tu
Copy link
Member

implemented now in monal 5.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📑 XEP Refers to relevant or issued XEPs 🎉 Feature Idea or new feature to implement
Projects
None yet
Development

No branches or pull requests

3 participants