Hasura Internship Week 3
3.3-Hasura Auth API and Postman Collection
Hasura Internship Week 3
3.3-Hasura Auth API and Postman Collection

I know this isn’t the original logo of hasura ….but just couldn’t resist..;)
In my previous blog, we experimented on hasura instant data APIs using Postman. This time we will be see how to handle users, roles and sessions using Hasura auth APIs. These auth API help in authentication and management of user sessions.
Hasura gives a number of APIs for user session and profile management. Here, I will be showing you some of the basic auth APIs.
1.Signup
Start your hasura console and open Postman. In URL section, type http://auth.<project_name>.hasura.me/signup .In the body section, select raw format and set the content type to application/json. In the body type {"username":"user1","password":"pass"}.Then send. You should get response showing your user id and an authentication token.

Sorry, can’t show you the auth token
Copy this auth token as you will require it now while accessing your profile.
2. Accessing Profile
Make another post request to the url http://auth.<project-name>.hasura.me/user/account/info. Give your bearer authorization in the headers as shown. Send it.

Again, can’t show you the auth token.
3. Logout
Make post request to the url http://auth.<project-name>.hasura.me/user/account/logout. Again, give your bearer authorization in the headers. Send it.

Here’s the documentation link
Here’s a video tutorial
[embed]
메타데이터
- post_id
- 9331fb847fe4
- slug
- hasura-internship-week-3-9331fb847fe4
- url
- https://medium.com/@anweshbohidar/hasura-internship-week-3-9331fb847fe4
- canonical_url
- https://medium.com/@anweshbohidar/hasura-internship-week-3-9331fb847fe4
- author_url
- https://medium.com/@anweshbohidar
- status
- ok
- fetched_at
- 2026-07-19 21:38:15