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

Auto_login & credentials on initialize() #439

Closed
KnutFr opened this issue Jul 9, 2015 · 1 comment
Closed

Auto_login & credentials on initialize() #439

KnutFr opened this issue Jul 9, 2015 · 1 comment

Comments

@KnutFr
Copy link

KnutFr commented Jul 9, 2015

Hi,

I have integrate converse.js as a openfire client for my website and I have a problem when I'm trying to "autolog" users.

For example, a basic authentication with user "admin@jabber.mysite.fr / 2cda9ad49fe1" works great but when I try with autolog, the loading gif does not stop turning.

This is my configuration :

    require(['converse'], function (converse) {
        converse.initialize({
            bosh_service_url: 'http://mysite.fr:7070/http-bind/', // 'https://conversejs.org/http-bind/' // Please use this connection manager only for testing purposes
            i18n: locales['fr'], // Refer to ./locale/locales.js to see which locales are supported
            keepalive: true,
            message_carbons: true,
            show_controlbox_by_default: false,
            xhr_user_search: false,
            allow_muc: true,
            auto_reconnect: true,
            allow_registration: false,
            debug: false,
            use_otr_by_default: false,
            allow_contact_requests: false,
            authentication: 'login',
            auto_login: true,
            jid: 'admin@jabber.mysite.fr',
            password: '2cda9ad49fe1',
            visible_toolbar_buttons:
            {
                call: false,
                clear: false,
                emoticons: false,
                toggle_participants: false
            }

        });
    });

Any idea?
Regards,
Adrien STEFANSKI

@jcbrand
Copy link
Member

jcbrand commented Jul 11, 2015

Thanks. I found a bug that occurs when using keepalive and autologin together.

It's fixed now in the master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants