Dashboard log-in not working
I am trying to create a dashboard where i got inspiration from the following github: https://github.com/refinedev/refine/tree/master/examples/app-crm-minimal. Though when creating a log-in/register page i seem to not be able to see it when launching the live server. Instead i get the default '
Welcome Aboard!
Your configuration is completed.'. How do i fix this?
3 Replies
Hi @Charaf. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Based on the information provided in the knowledge sources, it seems that your issue might be related to the authentication setup in your Refine application. Here are a few points to consider:
1. Make sure you have properly configured the
authProvider
in your App.tsx
file. The authProvider
is crucial for handling authentication in Refine applications.
2. Check if you have set up the correct routes for your login page. In a typical Refine application, the login route is usually defined like this:
3. Ensure that you're using the <AuthPage />
component for your login page. This component is provided by Refine and handles authentication out of the box.
4. Verify that you've added resources to your <Refine />
component. Without resources, Refine might default to showing the "Welcome Aboard!" message.
If you've done all of these and still see the "Welcome Aboard!" message, it's possible that your authProvider
is not properly configured or is not being recognized by Refine.
For a more detailed guide on setting up authentication in Refine, you can refer to the Authentication documentation.
If you need further assistance, it would be helpful to see your App.tsx
file and the component where you're defining your login page.
Refine Authentication Documentation
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@1337091068008595466> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
optimistic-goldOP•3w ago