Skip to content

Support for custom login forms (for Captchas) #673

Description

@cdroege

I got a report, that it is currently not possible to register an account (at least on a ejabberd server with version 17.01).

The error message is the following:

com.chatsecure: Missing attribute 'id' in tag <iq/> qualified by namespace 'jabber:client'

From an XML log I can see, that ejabberd sends this error message with the error code 400 (bad-request). You can try to create an account on draugr.de with ChatSecure, if you want to reproduce this error and see the XML log.

Activity

  1. chrisballinger commented on Jan 29, 2017

    @chrisballinger
    Member

    Huh, never seen that before. I wonder if this is a regression or strict mode in ejabberd? I'm pretty sure it has worked fine registering on ejabberd servers for a long time.

  2. cdroege commented on Jan 31, 2017

    @cdroege
    Author

    It might be, that ChatSecure does not support the registration form, when ejabberd sends a captcha

  3. chrisballinger commented on Jan 31, 2017

    @chrisballinger
    Member

    Ah yes we don't support captchas or any other custom login forms.

  4. changed the title [-]Missing attribute 'id' on registration[/-] [+]Support for custom login forms (for Captchas)[/+] on Jan 31, 2017
  5. modified the milestone: 4.1 on Feb 7, 2017
  6. gelft commented on Feb 17, 2017

    @gelft
  7. ldvc commented on Apr 14, 2018

    @ldvc

    Hi! Also encounter this issue with ejabberd 18.01 (captcha enable for IBR).
    In case it helps, this is the error returned:

    Domain: com.chatsecure
    Code: 1000
    UserInfo: {
       NSLocalizedDescription = "Unknown Error";
       OTRXMPPXMLErrorKey = "<iq xmlns=\"jabber:client\" lang=\"en\" from=\"example.com\" type=\"error\" id=\"FF0474F5-817D-4F69-80B1-5B2ED1549538\"><query xmlns=\"jabber:iq:register\"><username>jdoe</username><password>TEB642RG7O+M6Pw=</password></query><error code=\"405\" type=\"cancel\"><not-allowed xmlns=\"urn:ietf:params:xml:ns:xmpp-stanzas\"></not-allowed></error></iq>";
    }
    

    @chrisballinger if you are interested, I can provide you an account for further testing.

  8. whowantsmybigdata commented on Jan 15, 2019

    @whowantsmybigdata

    Hi,
    first of all, nice program and great work implementing OMEMO!

    Nevertheless, registration of a new account is a key xmpp feature for my use. Are there any news on implementing captcha support as I don't want to open the door to my xmpp-server to spammers?!

    I always only get the error message of that the account details are wrong but as the login works with preregistered accounts and the registration process works on e.g. conversation (android), I guess it might be the stupid captcha?!

    Or is there any other known way for custom registration without a completely open server-registration-config?!

    From my point of view, this would be really a key element towards a xmpp communicating circle of friends and family !

    Thanks in advance and keep up the good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions