2024-10-05 06:45:09 +00:00
|
|
|
# zulip-fediverse-auth
|
|
|
|
|
2024-10-16 16:35:38 +00:00
|
|
|
Authenticate to Zulip using Pleroma or Mastodon.
|
|
|
|
|
|
|
|
You will need to have a user on the zulip system that has permission to create new users and have an api key for it.
|
|
|
|
Instructions will be added to this document at a later point.
|
|
|
|
|
2024-10-16 16:37:54 +00:00
|
|
|
1. `useradd -r -m -d /var/lib/zulip-fedi-auth -s /bin/bash zulip-fedi-auth`
|
|
|
|
2. clone this repo into a subdirectory in zulip-fedi-auth user's home directory
|
2024-10-16 16:35:38 +00:00
|
|
|
3. create a venv, start it and run `pip install -r requirements.txt`
|
|
|
|
4. copy the systemd unit file into /etc/systemd/system and tailor it to your environment, and enable and start it
|
|
|
|
5. using nginx and letsencrypt or your other preference, to reverse-proxy the command under TLS at /fedi-auth/
|