Content Deep Dive
How to Setup Authentication with Django Graphene and Hasura GraphQL
Blog post from Hasura
Post Details
Company
Date Published
Author
Martin Mark
Word Count
2,219
Language
English
Hacker News Points
-
Summary
This tutorial guides users through setting up authentication with Django Graphene and Hasura GraphQL. It covers creating a simple GraphQL authentication service using Django Graphene, merging it into the Hasura service, and testing sample requests. The project is set up using Docker Compose, which automatically applies Hasura metadata and SQL migrations from the ./hasura folders. The tutorial also explains how to extend the user model in Django, create schema functions, and tie everything together for use with Hasura GraphQL Engine.