Sider authProvider Routes
Hi, can anyone help me, I'm converting my site from @pankod to @refinedev, but I'm getting a lot of errors, sider doesn't show my components, logout doesn't work, maybe I'm doing something wrong, maybe someone has done this, I'd like to see an example repository. How to fully configure authProvider, routerProvider, Sider?
34 Replies
Hey @RomaY! I'm the kapa.ai support bot. I've searched through the docs to try to answer your question. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet, but here are some links that might help: https://refine.dev/docs/advanced-tutorials/auth/auth0 and https://refine.dev/docs/2.xx.xx/api-references/providers/auth-provider.
----------------------
Auth0 Login | refine
Auth0 is a flexible, drop-in solution for adding authentication and authorization services to your applications. Your team and organization can avoid the cost, time, and risk that comes with building your own solution to authenticate and authorize users. You can check the Auth0 document for details.
<@538717491908575242> kapa.ai is still learning and improving, please let us how it did by reacting below
extended-salmonβ’2y ago
Page not found, for authorization, registration, I use my own components (login, password)
Hey @RomaY π
We are sorry about this situation. Could you share your App.tsx file with us?
extended-salmonβ’2y ago
GitHub
GitHub - RomanYakobchuk/client-refine
Contribute to RomanYakobchuk/client-refine development by creating an account on GitHub.
extended-salmonβ’2y ago
Sorry, I donβt push new data, one moment
I updated my branch
When I used @pankod everything worked very well and very cool
rival-blackβ’2y ago
I am also facing the same issue as @RomaY. Another thing that I faced is after upgrading my authProvider from legacyAuthProvider to authProvider and update the methods using the documentation guide for authProvider migration I get a blank white screen when I log in.
I think you forgot to pass the Sider prop to the Layout in this line https://github.com/RomanYakobchuk/client-refine/blob/master/src/App.tsx#L229
Can you share your authProvider? π
extended-salmonβ’2y ago
How to do it?
rival-blackβ’2y ago
Actually, like what you did in this line, https://github.com/RomanYakobchuk/client-refine/blob/master/src/App.tsx#L318
rival-blackβ’2y ago
Hey @Omer although I have passed all the props for my Layout and got my layout as expected. I am facing new issues as I cannot see any of my resources name displayed except the parent resource.
Hey @dipbazz , I think your issues are different. Can you create a separate forum post? Thank you π₯
extended-salmonβ’2y ago
how to transfer them correctly?