mastodon icon indicating copy to clipboard operation
mastodon copied to clipboard

OpenID/Connect interferes with "minimum age" in registration configuration

Open ip6li opened this issue 1 month ago • 1 comments

Steps to reproduce the problem

  1. Configure Mastodon for OpenID/Connect
  2. As (local) admin set "Server settings" -> "Minimum age requirement" to e.g. "18"
  3. Logout from Mastodon
  4. 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

ip6li avatar Nov 29 '25 05:11 ip6li

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.

ClearlyClaire avatar Dec 03 '25 11:12 ClearlyClaire