zulip/zilencer
Mateusz Mandera 67ba20da81 zilencer: Add flow for a server to reclaim its push notifs registration.
If the server controls the registration's hostname, it can reclaim its
registration credentials. This is useful, because self-hosted admins
frequently lose the credentials when moving their Zulip server to a
different machine / deployment method.

The flow is the following:
1. The host sends a POST request to /register specifying
   registration_takeover=true.
2. The bouncer responds with a signed token.
3. The host prepares to serve this token at /zulip-services/verify and
   sends a POST to /remotes/server/register/verify_challenge endpoint of
   the bouncer.
4. Upon receiving the POST request, the bouncer GETS
   https://{hostname}/zulip-services/verify,
   verifies the secret and responds to the original POST with the
   registration credentials.
5. The host can now save these credentials to it zulip-secrets.conf file
   and thus regains its push notifications registration.
2024-11-19 23:29:38 +01:00
..
lib python: Consistently use from…import for datetime. 2023-12-05 12:01:18 -08:00
management settings: Add group_creator as default for can_manage_group. 2024-10-01 17:35:14 -07:00
migrations migrations: Squash zilencer migrations. 2024-08-23 17:15:35 -07:00
README.md docs: Format Markdown with Prettier. 2021-09-08 12:06:24 -07:00
__init__.py
auth.py zilencer: Add flow for a server to reclaim its push notifs registration. 2024-11-19 23:29:38 +01:00
models.py corporate: Fix misuse of timezone_now() as parameter default. 2024-11-10 19:14:32 -08:00
urls.py zilencer: Add flow for a server to reclaim its push notifs registration. 2024-11-19 23:29:38 +01:00
views.py zilencer: Add flow for a server to reclaim its push notifs registration. 2024-11-19 23:29:38 +01:00

README.md

ZILENCER -- The Zulip license manager

This app is the place for storing state about various deployments of Zulip that exist in the world.