Matrix room gatekeeper bot for the unofficial Unimore space
Project description
Loki Bot
Gatekeeper bot for the Unimore Informatica unofficial Matrix space
TIP: You may be looking for its predecessor, Thor Bot.
Functionality
This bot monitors a pre-configured public Matrix space for join events, sending a welcome message to every new joiner.
The welcome message contains a link, which when clicked starts the user verification process:
- a page describing the bot is opened, and it allows users to login with a pre-configured OpenID Connect Identity Provider;
- the claims of the OIDC IdP are verified, and the user's email address is checked to verify that its domain matches a pre-configured RegEx with specific email requirements;
- if the email address fullfils all the requirements, an invitation to a different, pre-configured private Matrix space is sent to the user.
Additionally, the bot monitors for leave events from both spaces, deleting user data if no longer needed to protect the user's privacy.
Setting up a development environment
TODO
Deploying in production
TODO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lokiunimore-0.3.1.tar.gz
(188.9 kB
view hashes)
Built Distribution
lokiunimore-0.3.1-py3-none-any.whl
(196.7 kB
view hashes)
Close
Hashes for lokiunimore-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03c7686a85e5d7619cf95a47817c7249a4cc1e732d2ce39590b0ffc192e371e9 |
|
MD5 | 8751357f4b25f9a16388a1f5bd316dac |
|
BLAKE2b-256 | b32c3af1f0c39a6167c87c44ae224dff08c90b3e89a65449f8e4f5dac8843bf1 |