GithubHelp home page GithubHelp logo

Comments (12)

esauerbo avatar esauerbo commented on September 2, 2024

@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.

esauerbo avatar esauerbo commented on September 2, 2024

@VivekS98 are you still experiencing this issue?

from amplify-ui.

VivekS98 avatar VivekS98 commented on September 2, 2024

@esauerbo yes. With the same configuration

from amplify-ui.

esauerbo avatar esauerbo commented on September 2, 2024

Can you provide the information from my earlier comment? We haven't been able to reproduce this.

from amplify-ui.

VivekS98 avatar VivekS98 commented on September 2, 2024

Can you please mention which configuration exactly you need?

from amplify-ui.

esauerbo avatar esauerbo commented on September 2, 2024

@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.

VivekS98 avatar VivekS98 commented on September 2, 2024

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.

thaddmt avatar thaddmt commented on September 2, 2024

Is the string that's being returned censored? Like in the screenshot I have posted below?
Screenshot 2024-07-24 at 10 17 56 AM

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.

reesscot avatar reesscot commented on September 2, 2024

Hi @VivekS98, are you still experiencing this issue?

from amplify-ui.

VivekS98 avatar VivekS98 commented on September 2, 2024

Yes

from amplify-ui.

VivekS98 avatar VivekS98 commented on September 2, 2024

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.

esauerbo avatar esauerbo commented on September 2, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.