deep-jade
deep-jadeβ€’2y ago

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
kapa.ai
kapa.aiβ€’2y ago
Hey @RomaY! I'm the kapa.ai support bot. I've searched through the docs to try to answer your question. :wave:
kapa.ai
kapa.aiβ€’2y ago
---------------------- 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.
kapa.ai
kapa.aiβ€’2y ago
<@538717491908575242> kapa.ai is still learning and improving, please let us how it did by reacting below
deep-jade
deep-jadeβ€’2y ago
Page not found, for authorization, registration, I use my own components (login, password)
Omer
Omerβ€’2y ago
Hey @RomaY πŸ‘‹ We are sorry about this situation. Could you share your App.tsx file with us?
deep-jade
deep-jadeβ€’2y ago
GitHub
GitHub - RomanYakobchuk/client-refine
Contribute to RomanYakobchuk/client-refine development by creating an account on GitHub.
deep-jade
deep-jadeβ€’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
other-emerald
other-emeraldβ€’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.
Omer
Omerβ€’2y ago
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
<Layout Header={Header} Sider={Sider} Title={Title}>
<Layout Header={Header} Sider={Sider} Title={Title}>
Can you share your authProvider? πŸ‘€
deep-jade
deep-jadeβ€’2y ago
How to do it?
other-emerald
other-emeraldβ€’2y ago
Omer
Omerβ€’2y ago
other-emerald
other-emeraldβ€’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.
No description
Omer
Omerβ€’2y ago
Hey @dipbazz , I think your issues are different. Can you create a separate forum post? Thank you πŸ₯
deep-jade
deep-jadeβ€’2y ago
how to transfer them correctly?