authgear / authgear/authgear-server

Turn off public sign up

Open
#3,516 0 comments 0 reactions 0 assignees View on GitHub
design-required minor-feature
Dominant language
Go
Stars
2k
Forks
125
Avg merge
2d 17h
Merged PRs (30d)
32

Description

## Problem

Some projects are invite-only and the AuthUI should not show the signup page. User can only login.
For example, access is only open to members or employees

This is supported in the backend but need to expose the config in the portal.

## Appetite

1 day

## Design

image

* Add a "Sign Ups" page under "Authentication"
* Create a page for Sign Up options. Currently only have 1 option

```markdown
# Sign Ups

Enable or Disable self-signup in this project

Allow users to sign up
[Toggle]
Anyone can signup to an account. Switch off to make it invite-only.
```

image.png

## Rabbit Hole

New users created from Social/Enterprise login should not be allowed too.

## Todo

- [ ] Add button in Authgear Portal
- [ ] Write a small doc page about "Disable public signup"

Contributor guide

Open the contributing guide

Research direction

Start in the Authgear Portal's Authentication settings and trace the existing backend support for signup control. Add the Sign Ups page and self-signup toggle, then write the requested "Disable public signup" documentation; done when invite-only projects no longer show public signup and the setting is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication, documentation, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.