authgear / authgear/authgear-server

Cannot accept project invite if email is mixed-case

Open
#3,673 0 comments 0 reactions 0 assignees View on GitHub
bug/minor
Dominant language
Go
Stars
2k
Forks
125
Avg merge
2d 17h
Merged PRs (30d)
32

Description

**Describe the bug**

- Invite a user by entering their email address with mixed-case, e.g. `User.Lorem@example.com`
- After the user signed up, they cannot accept the invitation.

This is because the "accounts" app is case-insensitive by default and the server found `User.Lorem@example.com` not matched with `user.lorem@example.com`

Contributor guide

Open the contributing guide

Research direction

Start by tracing the accounts app's project-invitation acceptance flow and the email lookup used after signup. Reproduce the mixed-case invitation scenario, then add coverage for matching User.Lorem@example.com with user.lorem@example.com. Done means invited users can accept invitations regardless of email casing.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.