kitsune-soc / kitsune

🦊 (fast) ActivityPub-federated microblogging

Home Page:https://joinkitsune.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OIDC login does not work when combined with closed registrations

aumetra opened this issue · comments

Since the OIDC service hits the registration service, and the registration service checks the configuration whether it's allowed to create a new account, the first OIDC login will just fail.

Solution

Add an registration_override parameter to the registration struct which overrides the configuration and lets the registration succeed anyway