You can create your own Authentication approach using refine. You can customize the AuthProvider methods according to your needs and control the privileges of your users. This example is a simple example of custom authentication with refine.
RUN IN YOUR LOCAL
npm create refine-app@latest -- --example auth-antd