mastodon
mastodon copied to clipboard
OpenID/Connect interferes with "minimum age" in registration configuration
Steps to reproduce the problem
- Configure Mastodon for OpenID/Connect
- As (local) admin set "Server settings" -> "Minimum age requirement" to e.g. "18"
- Logout from Mastodon
- Login with OpenID/Connect user
Expected behaviour
Mastodon Web complains that user cannot be created.
Actual behaviour
OpenID/Connect login should always work, may be an age attribute should be defined.
Detailed description
After removing "Minimum age requirement" OpenID/Connect login works as expected.
Mastodon instance
local test instance, no Internet.
Mastodon version
v4.5.2
Technical details
Docker image: ghcr.io/mastodon/mastodon:latest
Ah, that's interesting. I suppose if you set up OpenID Connect and minimum age requirement, the correct thing to do would be to pull an age attribute and compare it, or present a form.