Skip to content

Commit 998d073

Browse files
authored
Merge pull request #622 from kinde-oss/feat/add-username-validation-guide
feat: add username validation workflow references
2 parents fae6478 + dff527d commit 998d073

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/content/docs/authenticate/authentication-methods/username-authentication.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ Once an email is verified, we add this email identity for the user. If the auth
9494
- Can include letters, numbers, -dashes, \_underscores (no special characters)
9595
- Case is ignored. Jane and jane are treated the same.
9696

97+
You can bring your own validation rule using Workflows ([example](https://github.com/kinde-starter-kits/workflow-examples/blob/main/usernameValidation/customUsernameValidation.ts))
98+
9799
## One password for multiple identities
98100

99101
Users can only have a single password in Kinde.

src/content/docs/workflows/getting-started/workflow-examples.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ These can be used as a starting point for your own workflows. You can find them
5858
- [Add custom claims to access token](https://github.com/kinde-starter-kits/workflow-examples/blob/main/userTokens/customClaimsAccessTokenWorkflow.ts) - Call an external API to get data to add as custom claims to the user access token.
5959
- [Map M2M applications to organizations](https://github.com/kinde-starter-kits/workflow-examples/blob/main/m2mToken/mapOrgToM2MApplicationWorkflow.ts) - Shows how to map M2M applications to organizations. Useful if using Kinde for B2B API key management
6060
- [Impossible travel - Trustpath integration](https://github.com/kinde-starter-kits/workflow-examples/blob/main/postUserAuthentication/impossibleTravelWorkflow.ts) - Evaluate user login risk using TrustPath's API by checking for "impossible travel" patterns based on IP and recent login activity. If high risk is detected, access is blocked proactively.
61+
- [Custom Username Validation](https://github.com/kinde-starter-kits/workflow-examples/blob/main/usernameValidation/customUsernameValidation.ts) - Bring your own username validation rules

0 commit comments

Comments
 (0)