-
Notifications
You must be signed in to change notification settings - Fork 67
Closed as not planned
Description
Describe the bug
https://element-hq.github.io/matrix-authentication-service/reference/configuration.html#policy says that if emails or registration are unspecified, then the allow rules by default allow everything, but this appears to not be the case.
To Reproduce
Steps to reproduce the behavior:
- Create a relatively basic/standard config with:
policy: data: client_registration: allow_insecure_uris: true allow_missing_contacts: true admin_users: ['admin'] admin_clients: ['CLIENTID']
- Navigate to registration page
- Try to register
Expected behavior
Registration works. Instead, you're denied.
Adding this to the config fixed it:
policy:
data:
# ... fields from above go here ...
emails:
allowed_addresses:
substrings: [""]
registration:
allowed_usernames:
substrings: [""]Screenshots
Desktop (please complete the following information):
- OS: Windows 11
- Browser: Chrome
- Version: 133
Additional context
I'm running the Docker container at #4115
Metadata
Metadata
Assignees
Labels
No labels
