Hasura Auth

The Hasura Auth microservice provides APIs which let you create, authenticate and manage user accounts on your Hasura project. It also lets you manage sessions and roles for users.

Once a user is registered (signed-up) on Hasura, the Auth microservice attaches a unique integer value called Hasura Identity or hasura_id and a default role 'user' to the user.

These value can be used across microservices to refer to the user registered by the Auth microservice. To understand how microservices receive the hasura_id and roles of a user, check out Understanding user sessions

Hasura Auth provides a bunch of admin APIs to perform administrative tasks on your user accounts.

Explore the Auth APIs

Use the API console to try out the various Auth APIs.

# in the project directory
$ hasura api-console