Comments (10)
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.
@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.
Oh. So I'll have to use a custom Authenticator to use RN?
from amplify-ui.
Any update on the hide prop for the RN Authenticator component? I'm trying to hide Greetings.
from amplify-ui.
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.
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.
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.
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.
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.
We have added new hide sign up prop #1260. Please let us know if you have any questions.
from amplify-ui.
Related Issues (20)
- [FR] Authenticator: hideSignIn HOT 1
- Hide "Confirm Password" field during sign up HOT 1
- [Bug] Vue Authenticator component exported as `any` type
- [FR]Storage Manager: Add transfer acceleration option HOT 1
- Menu cannot be disabled HOT 3
- @aws-amplify/ui-react-native withAuthenticator and <Authenticator.Provider> works on web but fails on mobile when using expo-router HOT 9
- [FR] Liveness - Proxy for APIs HOT 1
- Bug: Take it for a test drive feature is showing default component after minimizing the screen.
- Making a selection using a SelectField initiates text selection in Firefox on Windows HOT 1
- bug(react/a11y): Tabs primitive uses malformed id values with spaces in them
- 1
- front page icons
- Inconsistent frontend validation of certain Authenticator form fields HOT 2
- Session Not Found HOT 15
- Authenticator error message overflows if message is long HOT 2
- Issue with `withAuthenticator` hook integration in Next.js app HOT 3
- Ionic Chatbot UI [missing-page] HOT 2
- Ability to specify auth flow to trigger user migration events HOT 2
- Reset Password by Email not showing correct translations HOT 3
- SelectField SVG accessibility
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.