Kavach Logo 1.0.0-next.25

Rokkit

Kavach LogoKavach Demo

This is showcases authentication and role based access using Kavach. Kavach supports public and protected routes.

  • Public routes are accessible to everyone.
  • Protected routes are only accessible to logged in users with a specifc role. These routes can be configured to be different for each role.

Routes in this demo

  • User can log in using the login url. If already logged in user will be redirected to the default home page
  • Logged in users can log out. If user is not logged in, he/she will be redirected to login page.
  • Todo is a protected link, which is only accessible when user is logged in. Otherwise user will be redirected to login page