Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Expand allowed_domains policy to support email regexes #1870

Open
jaywink opened this issue Oct 2, 2023 · 1 comment
Open

Expand allowed_domains policy to support email regexes #1870

jaywink opened this issue Oct 2, 2023 · 1 comment
Labels
A-Configuration Related on what is configurable and how it can be configured A-Registration-Flow Related to the user registration flow O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Blocks non-critical functionality, workarounds exist. T-Enhancement New feature of request

Comments

@jaywink
Copy link
Member

jaywink commented Oct 2, 2023

In EMS we allow customers to define a list of email regexes for who can register to a homeserver. Often these are full domains but also often individual emails. Supporting regexes would be the easiest way to cover both use cases.

Code ref for current allowed_domains check:

@sandhose sandhose added T-Enhancement New feature of request O-Occasional Affects or can be seen by some users regularly or most users rarely A-Registration-Flow Related to the user registration flow A-Configuration Related on what is configurable and how it can be configured S-Minor Blocks non-critical functionality, workarounds exist. labels Oct 11, 2023
@matrixbot
Copy link
Member

For your information, this issue has been copied over to the Element fork of matrix-authentication-service: element-hq/matrix-authentication-service#1870

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Configuration Related on what is configurable and how it can be configured A-Registration-Flow Related to the user registration flow O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Blocks non-critical functionality, workarounds exist. T-Enhancement New feature of request
Projects
None yet
Development

No branches or pull requests

3 participants