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

Dev login method #405

Open
gnprice opened this issue Nov 21, 2023 · 2 comments
Open

Dev login method #405

gnprice opened this issue Nov 21, 2023 · 2 comments
Labels
a-login a-tools Our own development tooling, scripts, and infrastructure
Milestone

Comments

@gnprice
Copy link
Member

gnprice commented Nov 21, 2023

The Zulip server in development mode supports special modes of logging in that don't require any credentials and are therefore convenient for development. We should support those too.

There's a version of this in zulip-mobile, but it's grown out of date as more fine distinctions between different user roles have been introduced over the years. The zulip-mobile implementation may be informative about how the feature works (though there's also API docs for at least a key endpoint, https://zulip.com/api/dev-fetch-api-key ), but the best reference for the UI is probably what's in Zulip web.

@gnprice gnprice added a-login a-tools Our own development tooling, scripts, and infrastructure labels Nov 21, 2023
@gnprice gnprice added this to the Beta 2 milestone Nov 21, 2023
@gnprice
Copy link
Member Author

gnprice commented Nov 21, 2023

(Until we implement this, the most convenient workaround is: on the dev server, run:

$ ./manage.py print_initial_password iago@zulip.com

or similarly with the email address of whatever user you'd like to log in as. Then log in using the password that prints.)

@chrisbobbe
Copy link
Collaborator

zulip-mobile also uses an undocumented endpoint, GET /dev_list_users. I started a discussion about documenting it.

@gnprice gnprice modified the milestones: B2: Summer 2024, Launch May 9, 2024
@gnprice gnprice modified the milestones: Launch, Post-launch Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-login a-tools Our own development tooling, scripts, and infrastructure
Projects
Status: No status
Development

No branches or pull requests

2 participants