Comments (12)
@VivekS98 I wasn't able to reproduce this with @aws-amplify/[email protected]
(latest). What version are you using? Can you also provide your amplify configuration (minus any sensitive information)?
from amplify-ui.
@VivekS98 are you still experiencing this issue?
from amplify-ui.
@esauerbo yes. With the same configuration
from amplify-ui.
Can you provide the information from my earlier comment? We haven't been able to reproduce this.
from amplify-ui.
Can you please mention which configuration exactly you need?
from amplify-ui.
@VivekS98 whatever you're calling Amplify.configure with, which looks like aws-exports
in your case. And can you tell us what version of @aws-amplify/ui-react
are you using? Your package.json
may also be helpful.
from amplify-ui.
Here is the aws-exports
const awsmobile: any = {
aws_project_region: awsExports.APP_AWS_REGION,
aws_cognito_identity_pool_id: awsExports.APP_IDENTITY_POOL_ID,
aws_cognito_region: awsExports.APP_AWS_REGION,
aws_user_pools_id: awsExports.APP_USER_POOL_ID,
aws_user_pools_web_client_id: awsExports.APP_USER_POOL_WEB_CLIENT_ID,
};
export default awsmobile;
package.json
"@aws-amplify/ui-react": "^6.1.12",
"aws-amplify": "^6.3.8"
from amplify-ui.
Is the string that's being returned censored? Like in the screenshot I have posted below?
I tried copying your aws-exports and your sample code and I was not able to reproduce returning a password from the sign up.
I also tried using the useAuthenticator
hook to print out the unverifiedUserAttributes
to print out the values, could you try doing that and let us know if password is being printed there? You can try using an app similar to my example posted below.
The following should wrap your application in an AuthenticatorProvider and will use the useAuthenticator
hook so you can inspect the values as you go through the auth flow
function App() {
const { unverifiedUserAttributes } = useAuthenticator((context) => [context.unverifiedUserAttributes]);
console.log(JSON.stringify(unverifiedUserAttributes));
return (
<Authenticator>
{({ signOut, user }) => (
<main>
<h1>Hello {user.username}</h1>
<button onClick={signOut}>Sign out</button>
</main>
)}
</Authenticator>
);
}
export default function ProviderWrappedApp() {
return (
<Authenticator.Provider>
<App />
</Authenticator.Provider>
);
}
from amplify-ui.
Hi @VivekS98, are you still experiencing this issue?
from amplify-ui.
Yes
from amplify-ui.
What happened is this:
I was sent an invite which I used to sign up and create a password. It's that created password which is showing up as email.
from amplify-ui.
@VivekS98 can you please respond to @thaddmt's comment? #5363 (comment) It would be helpful to know whether your password shows up in unverifiedUserAttributes
.
from amplify-ui.
Related Issues (20)
- useAuthenticator is making me unauthenticated. HOT 11
- Accessibility Bug: "X" button in search component is not accessible via keyboard
- Liveness showing not live on production HOT 1
- Accessibility bug - Input fields are not described by their error messages HOT 3
- Authenticator Override Function calls for handleResetPassword and handleConfirmResetPassword are missing HOT 2
- processFile in StorageManager causing endless uploads HOT 11
- Translations for password error messages HOT 1
- Performance Warning in amplify-liveness: Canvas2D getImageData should use willReadFrequently HOT 1
- Customize Login Page HOT 4
- FR: 2FA Input whitespace is trimmed before submit HOT 1
- Getting Initialization of backend wasm failed when using FaceLivenessDetectorCore in React HOT 12
- Documentation error/omission HOT 1
- Errors in FaceLivenessDetector Component Usage in Next.js 14 HOT 7
- Wrong autocomplete value in password field on signIn route and "save-password" not triggered HOT 3
- "Center your face" UI is different between the actual phone and PC Chrome emulation mode HOT 5
- Unable to resolve "style-dictionary/lib/utils/deepExtend" HOT 4
- handleSignIn is not called consistently HOT 6
- Support ui-liveness for Vue HOT 2
- Docs: Improve discoverability of notes on usage with SSR HOT 4
- implement the maplibre wrapper for Angular HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amplify-ui.