On which framework/platform are you having an issue?
React
Which UI component?
Authenticator
How is your app built?
NextJS
What browsers are you seeing the problem on?
Firefox
Which region are you seeing the problem in?
India (Banglore)
Please describe your bug.
After Signin, a verification step is shown, where instead of email or username it shows password which should never happen. If we are using username for Signup, then it should use another way to verify, but not show the passoword directly.
What's the expected behaviour?
If the Auth happens via username, then in the verification step, it must ask for email or phone number for verification. Or there must be a way to disable the verification step.
Help us reproduce the bug!
Try signing up and signing in through the Amplify UI. After a successful singnin, it shows a verification step where it shows password instead of the email.
Code Snippet
import React from 'react';
import { Amplify } from 'aws-amplify';
import { Authenticator } from '@aws-amplify/ui-react';
import '@aws-amplify/ui-react/styles.css';
import awsExports from './aws-exports';
Amplify.configure(awsExports);
export default function App() {
return (
<Authenticator>
{({ signOut, user }) => (
<main>
<h1>Hello {user.username}</h1>
<button onClick={signOut}>Sign out</button>
</main>
)}
</Authenticator>
);
}
@VivekS98 I wasn't able to reproduce this with @aws-amplify/ui-react@6.1.12 (latest). What version are you using? Can you also provide your amplify configuration (minus any sensitive information)?
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React
Which UI component?
Authenticator
How is your app built?
NextJS
What browsers are you seeing the problem on?
Firefox
Which region are you seeing the problem in?
India (Banglore)
Please describe your bug.
After Signin, a verification step is shown, where instead of email or username it shows password which should never happen. If we are using username for Signup, then it should use another way to verify, but not show the passoword directly.![Screenshot 2024-07-03 at 13-50-53 RadiXplore v3](https://github.com/aws-amplify/amplify-ui/assets/29965718/0ccc764d-9cc9-4a59-ac29-1eee3df4e263)
What's the expected behaviour?
If the Auth happens via username, then in the verification step, it must ask for email or phone number for verification. Or there must be a way to disable the verification step.
Help us reproduce the bug!
Try signing up and signing in through the Amplify UI. After a successful singnin, it shows a verification step where it shows password instead of the email.
Code Snippet
Console log output
Additional information and screenshots
No response