Comments (7)
I do not want users to click on this link for Sign In because I have special Sign Up requirements and I want them to use my customized form.
If you could entirely replace either form to meet your needs, then is the need to hide one or the other still necessary?
from amplify-ui.
Yes that would be a workable solution for me. Thanks!
from amplify-ui.
Hi @defish1962
With the new authenticator this is resolved.
As for your question on linking directly to the Create Account / Sign Up page
that can be done with our initialState
prop. Basically, you can specify which state the authenticator should start in.
export default withAuthenticator(App, {
initialState: 'signUp',
});
As for hiding the Sign in, you can hide both tabs at the top of the authenticator using CSS.
.amplify-tabs {
display: none;
}
You could use this with the initial state so a user is unable to go to the signIn page. However, after the user signs up, and logs in, after they logout, they'll be redirected to the sign in page.
Let me know if this works for you.
from amplify-ui.
We've also added a slot to add in your own custom text! Documentation on that is forthcoming.
from amplify-ui.
Closing this issue for now, if you need more assistance let us know!
from amplify-ui.
I just merged this in! It should be available in our next release. There will be a new hideSignUp
prop you can pass in, to hide the sign up page.
from amplify-ui.
Awesome! Thanks so much!
from amplify-ui.
Related Issues (20)
- 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
- Liveness - Your account isn't authorized to call this operation HOT 11
- Pass className prop through to StorageImage HOT 1
- Could not resolve all files for configuration ':amazon-cognito-identity-js:debugCompileClasspath'. HOT 1
- Vite React - Component does not work correctly in mobile browsers, especially Google browsers HOT 8
- Liveness - Users getting timeout error as soon as they try to load HOT 13
- Undefined ('S3Object') Error HOT 12
- Customizable Visual Feedback Colors in Liveness Component HOT 3
- Autocomplete footer not allowing onClick HOT 2
- [Face Liveness] Cannot complete check due to server issue. Try again HOT 13
- Authenticator with only social sign in (hide regular sign in fields) HOT 2
- React: Set unique id to each authenticator step's button HOT 3
- Unrecognizable lambda output - When user Create an account HOT 1
- ResizeObserver loop when navigating in the Authenticator component HOT 3
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.