Tutorial Native Authentication Android Sign In Sign Out
In brief
To sign in a user using username (email) and password, collect the email and password from the user. If the username and password are valid, the app signs in the user.
Documentation change
To sign in a user using username (email) and password, collect the email and password from the user. If the username and password are valid, the app signs in the user.
If the Username built-in user attribute is enabled in your tenant's sign-up user flow, the username parameter in sign-in accepts either the user's email address or their username (alias). No separate sign-in logic is needed to support alias-based sign-in.
To sign in a user, you need to:
- Create a user interface (UI) to:
diff --git a/docs/identity-platform/tutorial-native-authentication-android-sign-in-sign-out.md b/docs/identity-platform/tutorial-native-authentication-android-sign-in-sign-out.md index d6f83339dfb..8ad96656955 100644 --- a/docs/identity-platform/tutorial-native-authentication-android-sign-in-sign-out.md +++ b/docs/identity-platform/tutorial-native-authentication-android-sign-in-sign-out.md @@ -37,6 +37,8 @@ To sign in a user using the one-time passcode, collect the email and send an ema To sign in a user using username (email) and password, collect the email and password from the user. If the username and password are valid, the app signs in the user. +If the **Username** built-in user attribute is enabled in your tenant's sign-up user flow, the `username` parameter in sign-in accepts either the user's email address or their username (alias). No separate sign-in logic is needed to support alias-based sign-in. + To sign in a user, you need to: 1. Create a user interface (UI) to: