Hello, I've recently started working
Hello, I've recently started working with Refine. It's a really great platform!
I've tried getting some help from kapa.ai, but no luck there so trying here...
Does anyone have experience integrating Authelia as an AuthProvider? I'm trying to use react-oidc-context, but I'm having some trouble making things work with the built-in components/hooks like <Authenticated>. I'm also not entirely sure how to correctly handle the callback route.
The useAuth from react-oidc-context is working properly. However, I'm not sure where I should use it and how to pass it correctly to the authProvider methods. I can't use it directly inside these methods as it throws error about using hooks outside of FC. I'm currently defining the authProvider (that goes into the Refine component) within the App function, and I call useAuth there. (similar to the Keycloak example).
Any thoughts?
I've tried getting some help from kapa.ai, but no luck there so trying here...
Does anyone have experience integrating Authelia as an AuthProvider? I'm trying to use react-oidc-context, but I'm having some trouble making things work with the built-in components/hooks like <Authenticated>. I'm also not entirely sure how to correctly handle the callback route.
The useAuth from react-oidc-context is working properly. However, I'm not sure where I should use it and how to pass it correctly to the authProvider methods. I can't use it directly inside these methods as it throws error about using hooks outside of FC. I'm currently defining the authProvider (that goes into the Refine component) within the App function, and I call useAuth there. (similar to the Keycloak example).
Any thoughts?
