gotify / gotify/server

Whitelist newly registered users

Open
#981 0 comments 0 reactions 0 assignees View on GitHub
a:feature request-for-comments
Dominant language
Go
Stars
15.9k
Forks
873
Avg merge
2d 22h
Merged PRs (30d)
6

Description

When using OIDC with a public IdP, the administrator usually doesn't want to enable auto registration, as not everyone should be able to have an account.

With disabled auto registration, an OIDC login is rejected and there is no way to whitelist one specific user. Gotify could create the account but keep it locked until an admin approves it, similar to Gitea/Forgejo. This could work as a new auto-register option (like false / true / locked) for both OIDC and normal sign-ups.

https://github.com/gotify/server/pull/977#discussion_r3409612051

Contributor guide

Open the contributing guide

Research direction

Start with the linked pull request discussion, then trace the OIDC login, auto-registration setting, and normal sign-up paths in the Go server. Define how a locked account is created and approved by an administrator, and verify that the new registration behavior works for both OIDC and normal sign-ups.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication, authorization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.