3.3) Hasura Auth API + Postman collection

Aamaan Asif
Jul 29, 2017 · 1 min read

What is Hasura Auth API ?

Hasura Auth provides an HTTP API for authentication and authorization of identities on the Hasura platform. This API can be consumed directly by frontend interfaces like mobile apps, browser-based apps, device apps as well as any server-side program.

It is used for creating new users and assigning roles to them.It is also used for login and logout purpose.

  • Copy the endpoint from the console and use it in postman.
  • To login add the username and password in body part of the api request.If the access credentials are correct then you will receive a response of a json object containing hasura_id, role and auth_token.

For more details refer to the official Hasura’s documentation

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade