Can I hava a refine app without an authprovider?

I want my refine app to have no auth
2 Replies
kapa.ai
kapa.ai3w ago
Hi @pr333do. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Yes, you can have a Refine app without an auth provider. Refine does not require an auth provider to function, and you can create an application without authentication capabilities. According to the Auth Provider documentation: "Auth Provider is not required for Refine to work, if it is not provided, your application will not have any authentication capabilities. As a result, you will not be able to use any of the auth hooks or components." When creating a new Refine project using the refine.new platform or the CLI, you can choose "No Auth" as the authentication provider option. This will set up your project without any authentication logic. If you're working with an existing project that has an auth provider and you want to remove it, you can simply omit the authProvider prop from the <Refine /> component in your App.tsx file. By not including an auth provider, your Refine app will function without any built-in authentication features, allowing you to create a public application or implement your own custom authentication logic if needed in the future. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai3w ago
<@655242653239345192> Kapa.ai is still learning and improving, please let me know how I did by reacting below.

Did you find this page helpful?