Tutorial Native Authentication Ios Macos Sign In Sign Out
In brief
To sign in a user using the **Email with password** flow, capture the email and password. If the username and password are valid, the app signs in the user.
Documentation change
To sign in a user using the Email with password flow, capture the email and password. 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-ios-macos-sign-in-sign-out.md b/docs/identity-platform/tutorial-native-authentication-ios-macos-sign-in-sign-out.md index 07408d46f18..9f118618fdd 100644 --- a/docs/identity-platform/tutorial-native-authentication-ios-macos-sign-in-sign-out.md +++ b/docs/identity-platform/tutorial-native-authentication-ios-macos-sign-in-sign-out.md @@ -38,6 +38,8 @@ To sign in a user using the **Email one-time passcode** flow, capture the email To sign in a user using the **Email with password** flow, capture the email and password. 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: