api7 / api7/aisix

Add configurable user registration via login screen

Open
#789 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
157
Forks
32
Avg merge
1h 25m
Merged PRs (30d)
145

Description

AISix currently does not provide a configurable option for enabling or disabling user registration directly from the login screen (cloud on-premise). This improvement would allow administrators to decide whether new users can self‑register or if registration should be restricted, making the system more flexible for different deployment scenarios.

Motivation
  • Provide control over whether self‑registration is allowed
  • Improve security in environments where only invited users should access
  • Simplify onboarding in open environments where registration is desired
Proposed Implementation
  • Add a toggle in the Settings screen:
    • Enable user registration (default: on)
  • When enabled, display a Sign Up option on the login screen
  • When disabled, hide the option and restrict access to existing accounts only
  • Ensure clear error messages if registration is attempted while disabled
Acceptance Criteria
  • Configurable toggle for user registration in UI
  • Sign Up option visible only when enabled
  • Registration blocked when disabled
  • Documentation updated with configuration instructions

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing Settings screen, login screen, and user-registration flow in the Rust project, then identify where configuration and registration access are handled. Implement the toggle and ensure the Sign Up option and registration behavior follow it, with a clear disabled-state error. Update the documentation with configuration instructions and verify each acceptance criterion.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
authentication, documentation, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.