Code Monkey home page Code Monkey logo

Comments (12)

njuaplusplus avatar njuaplusplus commented on July 21, 2024

@galexrt
How do you login zulip?
By which user and password?

from docker-zulip.

galexrt avatar galexrt commented on July 21, 2024

@njuaplusplus If you haven't changed the env vars ZULIP_USER_EMAIL and ZULIP_USER_PASS.
The login would be, username/email: [email protected], with password zulip.

These two env vars control the first user ZULIP_USER_EMAIL and ZULIP_USER_PASS.
They will only one time work!

See https://github.com/galexrt/docker-zulip/blob/master/docker-compose.yml#L43-L45

from docker-zulip.

galexrt avatar galexrt commented on July 21, 2024

In the v1.3.7 version it is currently not working!
Please try with v1.3.7 and using the registration page to create users again. Thanks!

I try to re-add this feature. I close this ticket for now and create a new ticket for re-adding/fixing this feature.

from docker-zulip.

njuaplusplus avatar njuaplusplus commented on July 21, 2024

@galexrt
I will try it.

As you say 'They will only one time work!'
Every time I test your image, I first remove the whole zulip directory, including other volumns,
and run from the scratch.
So it may not be the creation of user for the second time.

from docker-zulip.

njuaplusplus avatar njuaplusplus commented on July 21, 2024

Failed to login......

I think maybe that the user is not created, that's why the 'forget password' email is not sent...

But also I failed to register...

Your e-mail does not match any existing open organization. Use a different e-mail address, or contact ...

And If I choose to sign up with google account, it says 500 error.

from docker-zulip.

galexrt avatar galexrt commented on July 21, 2024

@njuaplusplus The behaviour changed in zulip version 1.3.7.
The user creation has to be done using the zulip registration page. My script that did it, isn't working since the Zulip version 1.3.7, but I'll try my best to fix the script soon.

I haven't tested google login yet, but I'll look into it when I have fixed most of the bugs.

In version 1.3.6 ZULIP_USER_EMAIL, ZULIP_USER_DOMAIN and ZULIP_SETTINGS_ADMIN_DOMAIN had to be from the same domain. (As I mentioned the user creation per my script, isn't working currently)

from docker-zulip.

galexrt avatar galexrt commented on July 21, 2024

@njuaplusplus The registration error you describe means, that for example my Zulip Admin domain is set to "example.com" so you can only create accounts with email addresses from "example.com".

Google Login: Have you set the needed Zulip Google Login vars?
See https://github.com/zulip/zulip/blob/master/zproject/local_settings_template.py and https://github.com/zulip/zulip/blob/master/zproject/settings.py

from docker-zulip.

njuaplusplus avatar njuaplusplus commented on July 21, 2024

@galexrt
It's my fault that I have not set the google vars.

Maybe it's better to add this restriction in the readme.md:

ZULIP_USER_EMAIL, ZULIP_USER_DOMAIN and ZULIP_SETTINGS_ADMIN_DOMAIN had to be from the same domain

from docker-zulip.

galexrt avatar galexrt commented on July 21, 2024

@njuaplusplus I added a wiki page for it ;)
Here https://github.com/Galexrt/docker-zulip/wiki/Zulip-GoogleApps-Authentication

from docker-zulip.

njuaplusplus avatar njuaplusplus commented on July 21, 2024

@galexrt

Thank you so much for your work.

But I think that there's some misleading at the
configuration wiki page:

ZULIP_USER_DOMAIN: User domain, should be same as used in ZULIP_SETTINGS_ADMIN_DOMAIN or ZULIP_SETTINGS_EXTERNAL_HOST

The ZULIP_SETTINGS_EXTERNAL_HOST can be different.

As in my vps, I set the ZULIP_USER_DOMAIN="qq.com",
but the ZULIP_SETTINGS_EXTERNAL_HOST="zulip.answ.me".
And it works.

For anyone want to try zulip, feel free to browser the site.

By the way, have you deployed zulip on your vps for external access?

from docker-zulip.

galexrt avatar galexrt commented on July 21, 2024

@njuaplusplus Yes you are right, I try to make this more clear in the wiki.
Yes, I have deployed docker-zulip to one of my machines, with external access.

If you have any other questions feel free to ask them on the Freenode IRC #docker-zulip (See https://github.com/Galexrt/docker-zulip/blob/master/README.md#community for more details) or here too.
Closing as the issue is going to be resolved in #25.

from docker-zulip.

galexrt avatar galexrt commented on July 21, 2024

I updated the Configuration wiki page.
@njuaplusplus Do you think the new text for ZULIP_USER_DOMAIN makes it more clear?

from docker-zulip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.