Page: /ui/auth/authenticator/q/framework/vue
Feedback:
It looks like in the latest version of the Vue UI components, there's no way to hide "Create account" on the sign in component. It would be great to have this!
This is a product feature request so will move into the JS repo.
@srchulo - curious what the use case for hiding create new account is? To not confuse users?
Most of the apps that I build are invite only and don't usually support a sign up flow. Or it's a more complicated sign up flow that they don't do on the site, but we handle together in a meeting before they can actually login.
And yes, to not confuse users. I actually have sign ups turned off in the user pool, so you can go through the create account flow, but then you get an 400 error.
This looks to be a duplicate of another recent feature request. I'm going to close this in favor of the (slightly) older issue: https://github.com/aws-amplify/amplify-js/issues/6089
@amhinson thanks for linking that issue. That actually had a solution for me!
<amplify-authenticator>
<amplify-sign-in slot="sign-in">
<!-- hide sign up flow https://github.com/aws-amplify/amplify-js/issues/6089#issuecomment-644438802 -->
<div slot="secondary-footer-content"></div>
</amplify-sign-in>
<nuxt />
<amplify-sign-out></amplify-sign-out>
</amplify-authenticator>
I have just added a prop to the sign-in component to handle this more intuitively if you'd like to use it instead:
<amplify-sign-in slot="sign-in" hide-sign-up></amplify-sign-in>
@jordanranz That works great, thanks!