how do I switch from google authentication to create a username and password?
How can i create a login page where uder can create their username and password or login with as users that already exist?
2 Replies
Hi, I am refine support bot :wave:. I am here to help you with your question. I searched for the answer to your question in the refine documentation and found an answer! 🏆
Answer: To switch from Google authentication to create a username and password, you can use the <AuthPage/> component to create auth pages for login, signup, forgot password and reset password. SOURCES: ./docs/api-reference/mui/components/mui-auth-page/, ./docs/advanced-tutorials/data-provider/supabase.md, ./docs/api-reference/antd/components/auth-page.md, ./docs/api-reference/chakra-ui/components/chakra-auth-page, ./docs/tutorial/5-understanding-authprovider/mui/2-auth-pages.md, ./docs/tutorial/5-understanding-authprovider/chakra-ui/2-auth-pages.md
Answer: To switch from Google authentication to create a username and password, you can use the <AuthPage/> component to create auth pages for login, signup, forgot password and reset password. SOURCES: ./docs/api-reference/mui/components/mui-auth-page/, ./docs/advanced-tutorials/data-provider/supabase.md, ./docs/api-reference/antd/components/auth-page.md, ./docs/api-reference/chakra-ui/components/chakra-auth-page, ./docs/tutorial/5-understanding-authprovider/mui/2-auth-pages.md, ./docs/tutorial/5-understanding-authprovider/chakra-ui/2-auth-pages.md
Note: If this is the answer you need, then we are very lucky. If not, please wait for someone from the refine core team or the community to try to help you.
ugly-tan•2y ago
I suggest you check it out: https://refine.dev/docs/tutorial/understanding-authprovider/antd/auth-pages/
3. Auth Pages | refine
In this section, we will learn how to create auth pages such as login, signup, forgot password and reset password using the `` component.