mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
539 B
539 B
@logto/experience | @logto/schemas | @logto/core |
---|---|---|
minor | minor | minor |
add support for login_hint
parameter in sign-in method
This feature allows you to provide a suggested identifier (email, phone, or username) for the user, improving the sign-in experience especially in scenarios where the user's identifier is known or can be inferred.
Example:
// Example usage (React project using React SDK)
void signIn({
redirectUri,
loginHint: 'user@example.com',
firstScreen: 'signIn', // or 'register'
});