# \#username

**URL:** https://community.auth0.com/tag/username/494.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Additional special characters required in username - \* & %](https://community.auth0.com/t/additional-special-characters-required-in-username/204285)

<div class="topic-metadata">

**Author:** [@karuissobusy](https://community.auth0.com/u/karuissobusy)\
**Replies:** 1\
**Last updated:** [October 15, 2026, 7:51pm UTC](https://community.auth0.com/t/additional-special-characters-required-in-username/204285 "2026-10-15T19:51:30Z")

</div>

We are doing lazy migration where the existing DB has a lot of account with some special characters that aren’t allowed in Auth0 like \* & % What options do we have? Cheers, Karthick.

---

## [Use username in email template](https://community.auth0.com/t/use-username-in-email-template/64753)

<div class="topic-metadata">

**Author:** [@veerle](https://community.auth0.com/u/veerle)\
**Replies:** 5\
**Last updated:** [January 13, 2025, 6:22pm UTC](https://community.auth0.com/t/use-username-in-email-template/64753 "2025-01-13T18:22:19Z")

</div>

I’m trying to send a custom email which contains the username in the HTML body. I’m using this: \<p\>\<strong\>Your username: \</strong\>{{ user.username }}\</p\> However, this comes up empty in the email, while my raw JSON f…

---

## [My Blazor Server app won't display the user name](https://community.auth0.com/t/my-blazor-server-app-wont-display-the-user-name/85054)

<div class="topic-metadata">

**Author:** [@JohnMarsing](https://community.auth0.com/u/JohnMarsing)\
**Replies:** 1\
**Last updated:** [April 30, 2023, 11:45pm UTC](https://community.auth0.com/t/my-blazor-server-app-wont-display-the-user-name/85054 "2023-04-30T23:45:42Z")

</div>

I can’t get my Shared\\LoginDisplay.razor to display the user name. This should work… \<AuthorizeView\> \<Authorized\> Hello @context.User.Identity.Name \</Authorized\> \<NotAuthorized\> \<a href="@Login" class="btn btn-…

---

## [Modify username requirements with auth0 sign up widget](https://community.auth0.com/t/modify-username-requirements-with-auth0-sign-up-widget/79872)

<div class="topic-metadata">

**Author:** [@molly.kelsey](https://community.auth0.com/u/molly.kelsey)\
**Replies:** 5\
**Last updated:** [March 21, 2022, 5:00pm UTC](https://community.auth0.com/t/modify-username-requirements-with-auth0-sign-up-widget/79872 "2022-03-21T17:00:01Z")

</div>

Where can I modify the character requirement shown below when signing up using the auth widget? Use 1-30 letters, numbers and the following characters: “\_”, “.”, “+”, “-” The username length can be changed under Authen…

---

## [Nickname contains the beginning of the email address instead of the provided username](https://community.auth0.com/t/nickname-contains-the-beginning-of-the-email-address-instead-of-the-provided-username/68351)

<div class="topic-metadata">

**Author:** [@jodi](https://community.auth0.com/u/jodi)\
**Replies:** 8\
**Last updated:** [August 30, 2021, 7:40pm UTC](https://community.auth0.com/t/nickname-contains-the-beginning-of-the-email-address-instead-of-the-provided-username/68351 "2021-08-30T19:40:49Z")

</div>

Hi all, I have turned on the “requires username” switch in the database - Username-Password-Authentication settings. Auth0 indeed asks the user for a username when signing up now. However, when fetching the user using …

---

## [Username not available to application from profile](https://community.auth0.com/t/username-not-available-to-application-from-profile/45811)

<div class="topic-metadata">

**Author:** [@cpw1485](https://community.auth0.com/u/cpw1485)\
**Replies:** 6\
**Last updated:** [August 14, 2021, 2:08am UTC](https://community.auth0.com/t/username-not-available-to-application-from-profile/45811 "2021-08-14T02:08:21Z")

</div>

I am attempting to follow the quickstart for a Regular Web App with Node JS / passport-auth0. However, when I configure my database to require a username the username does not appear to returned to the application from a…

---

## [Username support on social connections](https://community.auth0.com/t/username-support-on-social-connections/58980)

<div class="topic-metadata">

**Author:** [@sazzer](https://community.auth0.com/u/sazzer)\
**Replies:** 1\
**Last updated:** [March 5, 2021, 8:39pm UTC](https://community.auth0.com/t/username-support-on-social-connections/58980 "2021-03-05T20:39:14Z")

</div>

I’m relatively certain the answer to this is “You can’t do that”, but thought I’d ask anyway. I’m working on a CMS site where I want to have content namespaced by the user and the actual site name - similar to how GitHu…

---

## [Username does not work for login, only email works](https://community.auth0.com/t/username-does-not-work-for-login-only-email-works/57693)

<div class="topic-metadata">

**Author:** [@raalrwai](https://community.auth0.com/u/raalrwai)\
**Replies:** 1\
**Last updated:** [February 27, 2021, 11:24am UTC](https://community.auth0.com/t/username-does-not-work-for-login-only-email-works/57693 "2021-02-27T11:24:20Z")

</div>

Hello, I have a customer mongodb connection. The connection successfully creates users in my mongodb cluster with create user and with require username, however when I attempt to login, I receive a profile not defined e…

---

## [Username does not work for custom mongodb connection](https://community.auth0.com/t/username-does-not-work-for-custom-mongodb-connection/57637)

<div class="topic-metadata">

**Author:** [@raalrwai](https://community.auth0.com/u/raalrwai)\
**Replies:** 1\
**Last updated:** [February 27, 2021, 9:39am UTC](https://community.auth0.com/t/username-does-not-work-for-custom-mongodb-connection/57637 "2021-02-27T09:39:18Z")

</div>

Hello, I have a customer mongodb connection. The connection successfully creates users in my mongodb cluster with create user and with require username, however when I attempt to login, I receive a profile not defined e…

---

## [How will existing connection behave when we turn OFF "Require username"?](https://community.auth0.com/t/how-will-existing-connection-behave-when-we-turn-off-require-username/56017)

<div class="topic-metadata">

**Author:** [@zblocker\_debtx](https://community.auth0.com/u/zblocker_debtx)\
**Replies:** 4\
**Last updated:** [January 12, 2021, 2:50pm UTC](https://community.auth0.com/t/how-will-existing-connection-behave-when-we-turn-off-require-username/56017 "2021-01-12T14:50:46Z")

</div>

We have an existing database connection (Auth0-hosted with gradual migration enabled). For its whole existence we’ve had the “Require username” flag ON, and we have various rules based around username, etc. What is goi…

---

## [How does "Require Username" work for custom database connections?](https://community.auth0.com/t/how-does-require-username-work-for-custom-database-connections/50660)

<div class="topic-metadata">

**Author:** [@john6](https://community.auth0.com/u/john6)\
**Replies:** 5\
**Last updated:** [September 30, 2020, 4:10pm UTC](https://community.auth0.com/t/how-does-require-username-work-for-custom-database-connections/50660 "2020-09-30T16:10:42Z")

</div>

A clear explanation of how authentication works when using a custom database connection would be helpful. For example, on the Database Connections page, on the Custom Database tab, one is able to write custom code to cr…

---

## [Can I make Lock show a username hint, similar to the password hint?](https://community.auth0.com/t/can-i-make-lock-show-a-username-hint-similar-to-the-password-hint/43758)

<div class="topic-metadata">

**Author:** [@zblocker\_debtx](https://community.auth0.com/u/zblocker_debtx)\
**Replies:** 4\
**Last updated:** [June 1, 2020, 9:13am UTC](https://community.auth0.com/t/can-i-make-lock-show-a-username-hint-similar-to-the-password-hint/43758 "2020-06-01T09:13:13Z")

</div>

Is it possible to have Lock display a username popup format guide or hint tooltip to the user, similar to how it displays a password format guide, while the user is typing? We would like to guide our users on how they s…

---

## [Make signup flow without username](https://community.auth0.com/t/make-signup-flow-without-username/24802)

<div class="topic-metadata">

**Author:** [@peter7](https://community.auth0.com/u/peter7)\
**Replies:** 4\
**Last updated:** [May 8, 2019, 8:08am UTC](https://community.auth0.com/t/make-signup-flow-without-username/24802 "2019-05-08T08:08:18Z")

</div>

Hey Community. I am working on an app, where the users use auth0 to sign up and login. It works well, but we wish to remove the username part of the signup process. We don’t use username, we have added two new fields f…

---

## [Username Length and Hosted Login Page](https://community.auth0.com/t/username-length-and-hosted-login-page/8803)

<div class="topic-metadata">

**Author:** [@brianra](https://community.auth0.com/u/brianra)\
**Replies:** 6\
**Last updated:** [February 16, 2018, 7:04am UTC](https://community.auth0.com/t/username-length-and-hosted-login-page/8803 "2018-02-16T07:04:15Z")

</div>

On our Auth0 tenant we have username length configured to be 2-25 characters. This works fine when using the Lock on our own custom login page. However, on a hosted login page we are not able to enter more than 15 char…

---

## [iOS and Ionic v1 Wrong Username and Password](https://community.auth0.com/t/ios-and-ionic-v1-wrong-username-and-password/9218)

<div class="topic-metadata">

**Author:** [@jrthreadgill](https://community.auth0.com/u/jrthreadgill)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 5:54pm UTC](https://community.auth0.com/t/ios-and-ionic-v1-wrong-username-and-password/9218 "2018-12-14T17:54:11Z")

</div>

Background: Ionic v1 auth0/cordova 0.3.0 auth0-js 8.10.1 cordova-plugin-ionic-webview (aware that there are issues with this) Using hosted login page Having an issue getting authenticated in iOS. No issues in Android. …

---

## [Cannot update username for users without a username already set](https://community.auth0.com/t/cannot-update-username-for-users-without-a-username-already-set/8403)

<div class="topic-metadata">

**Author:** [@john5](https://community.auth0.com/u/john5)\
**Replies:** 2\
**Last updated:** [October 6, 2017, 1:42pm UTC](https://community.auth0.com/t/cannot-update-username-for-users-without-a-username-already-set/8403 "2017-10-06T13:42:05Z")

</div>

This API (Management API Reference - Auth0 Docs) does not allow setting a username on an existing user profile that did not initially have username set. (The API returns a 400 with error message “Cannot update username f…

---

## [Username cache](https://community.auth0.com/t/username-cache/8206)

<div class="topic-metadata">

**Author:** [@david4](https://community.auth0.com/u/david4)\
**Replies:** 0\
**Last updated:** [September 16, 2017, 12:57am UTC](https://community.auth0.com/t/username-cache/8206 "2017-09-16T00:57:55Z")

</div>

When a user changes their username or an account is deleted, what is TTL on the cache to clear out?

---

## [BUG: Username minimum length cannot equal maximum length](https://community.auth0.com/t/bug-username-minimum-length-cannot-equal-maximum-length/8155)

<div class="topic-metadata">

**Author:** [@chris.s.hutchinson](https://community.auth0.com/u/chris.s.hutchinson)\
**Replies:** 1\
**Last updated:** [September 12, 2017, 10:11am UTC](https://community.auth0.com/t/bug-username-minimum-length-cannot-equal-maximum-length/8155 "2017-09-12T10:11:33Z")

</div>

!\[alt text\]\[1\] It appears the Web UI doesn’t allow setting the minimum username length to be equal to the maximum user length, despite the validation message indicating that it should be possible. I have tried the foll…
