Giter Club home page Giter Club logo

Comments (10)

tripplilley avatar tripplilley commented on July 28, 2024 1

As a workaround, you can use the hideDefault property on the Authenticator, then explicitly list your contained components. Note that you may have to add an onStateChange handler to skip past states you've hidden (e.g., verifyContact) or you'll end up with a blank UI when you hit that state.

<Authenticator hideDefault={true}>
  <SignIn>
  <SignOut>
  <Greetings>
</Authenticator>

from amplify-ui.

haverchuck avatar haverchuck commented on July 28, 2024

@michaelcuneo - It looks like 'hide' isn't yet implemented as a prop in the RN Authenticator component. For now we will be updating the docs to make this clear, and will also be discussing the priority of adding this in our backlog. I've marked this issue as a feature request.

from amplify-ui.

michaelcuneo avatar michaelcuneo commented on July 28, 2024

Oh. So I'll have to use a custom Authenticator to use RN?

from amplify-ui.

JonEsparaz avatar JonEsparaz commented on July 28, 2024

Any update on the hide prop for the RN Authenticator component? I'm trying to hide Greetings.

from amplify-ui.

ericclemmons avatar ericclemmons commented on July 28, 2024

I know it's been a while, but I'd like to understand the desired UX for having an Authenticator with Sign Up disabled.

(Is account creation disabled & only available to admins?)

from amplify-ui.

jrc avatar jrc commented on July 28, 2024

I know it's been a while, but I'd like to understand the desired UX for having an Authenticator with Sign Up disabled.
(Is account creation disabled & only available to admins?)

Yes, we do have that use case (for a B2B app).

from amplify-ui.

ericclemmons avatar ericclemmons commented on July 28, 2024

One more question on this topic – are accounts only being created via the Cognito UI, or is there an "Admin page" with an Authenticator for admins to create accounts there?

from amplify-ui.

jrc avatar jrc commented on July 28, 2024

One more question on this topic – are accounts only being created via the Cognito UI, or is there an "Admin page" with an Authenticator for admins to create accounts there?

I can't speak for everyone but in our case, we just have a handful of external users (for now) and we're using the Cognito UI (AWS console) to provision them.

from amplify-ui.

tripplilley avatar tripplilley commented on July 28, 2024

One more question on this topic – are accounts only being created via the Cognito UI, or is there an "Admin page" with an Authenticator for admins to create accounts there?

In our case, we are using the Cognito UI during our pilot, but expect to add provisioning tools to our own UI eventually.

from amplify-ui.

Milan-Shah avatar Milan-Shah commented on July 28, 2024

We have added new hide sign up prop #1260. Please let us know if you have any questions.

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.