2 Answers
- Newest
- Most votes
- Most comments
1
To remove the "Create Account" option from the Amplify Auth UI in your React Native app, set the hideSignUp
option to true
in the withAuthenticator
component. Here’s how you do it in your code:
export default withAuthenticator(App, { hideSignUp: true });
0
I missed this documentation: https://ui.docs.amplify.aws/react-native/connected-components/authenticator/configuration#hide-sign-up
here is the solution
<Authenticator.Provider>
<Authenticator
components={{
SignIn: (props) => (
<Authenticator.SignIn {...props} hideSignUp />
),
}}
>
......
</Authenticator>
</Authenticator.Provider>
answered 2 months ago
Relevant content
- asked 3 months ago
- asked a month ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
Still doesn't work. I've reset simulator settings, cleared cache, rebuild the project. And it keeps showing the "Create Account" link I also tried the following code, but it doesn't work