authgear / authgear/authgear-server

Do not allow users to change the sub-domains

Open
#3,263 6 comments 1 reaction 0 assignees View on GitHub
pitch
Dominant language
Go
Stars
2k
Forks
125
Avg merge
2d 17h
Merged PRs (30d)
32

Description

**Problem**
To avoid mis-uses of the free domain (`authgear.cloud`) we provide for free users, we shall further restrict it by disallow of choosing or changing the domain name for free plan.

**Appetite**
2 weeks

**Solution**
We will:

1. decouple the project name and free subdomain
2. do not allow changing the sub-domain.
3. Add an "Project Setting" page in portal.

![SCR-20230727-mxf](https://github.com/authgear/authgear-server/assets/387241/1ba10f0c-40d6-4056-96e6-70886b68ad0a)

Hence for the above screen, we shall change it to two fields:
```markdown
# Create a new Project

**What is the name of your project?**
(text input with any name users used to describe the project)

**This will be a temporary free URL for your authentication end point**
(show the URL of `https://[random human memorizable string].authgear.cloud`, cannot be changed)
```
Nav in portal:

```
> Project
Settings (change project name, show the URL)
Team (Portal Admins)
Billing
Custom Email Provider
```

**Rabbit holes**

**No-goes**
Functionality or use cases we intentionally aren’t covering to fit the appetite

Contributor guide

Open the contributing guide

Research direction

Start by tracing project creation, free subdomain generation, and the portal navigation described in the issue. Compare the current project-name flow with the proposed Project Settings, Team, Billing, and Custom Email Provider pages; done means project names can change independently while the generated free URL remains fixed for free plans.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.