Hasura Auth API + Postman collection
In my previous post, I had mentioned that Hasura platform provides Data API as well as Auth API. I used Data API to insert and retrieve data into tables of my database schema. Check out my previous post about Hasura Data API Auth service Hasura Auth provides services for user authentication & authorization, user management, session management and table permissions. In a typical app, we require to Register a new user. Login an existing user and maintain his/her session. Logout the user and terminate his/her session. Reset password for a user. Table for user information is already there in Auth service. Roles There are three roles in the auth service admin user anonymous A user of user table can have more then one role, and each role have its permission and access restrictions. The admin role can do CRUD queries to all the tables. Permissions for other roles is need to be defined in each table. When we register a new user, it assign...