From e493f0b447c3a93b1774b7f2157c9d9b184887a4 Mon Sep 17 00:00:00 2001 From: Melvin Keskin Date: Sat, 25 Nov 2023 19:02:51 +0100 Subject: [PATCH] XEP-0077: Release version 2.5 Specify account creation via HTTP as non-exclusive alternative to XMPP --- xep-0077.xml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/xep-0077.xml b/xep-0077.xml index da2823a05..d4898eda3 100644 --- a/xep-0077.xml +++ b/xep-0077.xml @@ -23,6 +23,12 @@ http://www.xmpp.org/schemas/iq-register.xsd &stpeter; + + 2.5 + 2023-11-25 + melvo +

Specify account creation via HTTP as non-exclusive alternative to XMPP

+
2.4 2012-01-25 @@ -517,9 +523,12 @@

Support for extensibility via Data Forms is RECOMMENDED but is not required for compliance with this document.

- -

A given deployment MAY wish to redirect users to another medium (e.g., a website) for registration, rather than allowing in-band registration. The recommended approach is to include only the <instructions/> element rather than the required fields or a data form in the IQ result, as well as a URL encoded using &xep0066; (see the Precedence Order section below for further details).

- +

A given deployment MAY wish to provide an alternative medium (e.g., a website) for registration.

+ +

Account creation via HTTP enables clients that do not support account creation via XMPP but are able to query the web registration URL to provide that URL to its users. Furthermore, providing a web registration URL in addition to support for account creation via XMPP leaves the decision which way to use for registration to the client or even to the user. That approach does not limit future development as the former one did which recommended to provide either account creation via XMPP or a web registration URL. It also allows clients that are only used for aggregating data about servers to check whether a server supports account creation via XMPP while retrieve its web registration URL.

+

In addition to or instead of the required fields or a data form in the IQ result, an <instructions/> element as well as a URL encoded using &xep0066; MAY be included (see the Precedence Order section below for further details).

+ ]]> +

Given the foregoing discussion, it is evident that an entity could receive any combination of iq:register, x:data, and x:oob namespaces from a service in response to a request for information. The precedence order is as follows:

@@ -583,7 +593,7 @@ iq:register fields + x:oob URL Submit the completed iq:register fields but optionally present the provided URL as an alternative. - This combination is NOT RECOMMENDED. + This combination MAY be returned if the server provides both registrations via XMPP and HTTP.