Authorization

Learn how to integrate different access control patterns, authorization rules, role based permission system with Hasura GraphQL and authentication providers.

Case Study

Case Study: Industrial IoT Platform Machine Metrics Increased Developer Velocity by 10x Using Hasura

Machine Metrics started exploring Hasura to build their GraphQL powered data access layer. The result? Fast, reliable, secure data APIs which also enabled their teams to increase developer productivity by almost 10x!
Tyler Hannan
Tyler Hannan
14 July, 2021
Mail

Get monthly product updates

Sign up for full access to our community highlights & new features.
Writer

Join Hasura's Technical Writer Program

Turn your ideas into guides, tutorials, reference architectures, and help the larger community of Hasura developers.
JWT

Building Applications with CloudFlare Workers and Hasura GraphQL Engine

Today, we explore using Cloudflare Workers to implement JWT auth and role-based content access to a relational database.
Gavin Ray
Gavin Ray
12 May, 2021
Authorization

Cascading permissions with inherited roles in Hasura

Instead of replicating functionality across multiple role definitions, define each of those abilities in a descriptive way that can then be combined across multiple users.
Jesse Martin
Jesse Martin
01 April, 2021
Azure

Azure Active Directory Integration with Hasura JWT Claims Mapping

The power of customisation is that Hasura, and our authn/authz capabilities, can support a wide variety of providers and implementations. Take, for example, the process of integrating Azure Active Directory with Hasura.
Allison Kunz
Allison Kunz
25 March, 2021
Community Call
Hasura GraphQLHasura GraphQL
GraphQL Security

How to secure GraphQL APIs with Hasura Cloud

In this post, we will look at how to secure GraphQL APIs with various defense mechanisms available in Hasura Cloud. Without the right protections, you are opening up your application network to malicious attacks and potentially exposing data in some cases.
Praveen Durairaju
Praveen Durairaju
02 December, 2020
Authentication

Add 5 login methods to your Hasura app in 5 minutes with OneGraph’s AuthGuardian

AuthGuardian by OneGraph is live on Product Hunt today, check it out
Vishwa Mehta
Vishwa Mehta
01 July, 2020
Authorization

Authorization rules for a multi-tenant system - Google cloud platform

In this post we will be looking at implementing authorization of a hierarchical role based access control system in a multi tenant setup.
Gautam BT
Gautam BT
21 April, 2020
Authorization

Hasura Authorization System through Examples

Authorization systems are about rules like, “Can user U perform action A [on resource R]?”. In this post, we implement real-world authorization rules using Hasura's JSON-based DSL.
Gautam BT
Gautam BT
16 March, 2020
GraphQL

Common access control patterns with Hasura GraphQL Engine

In this post, we will look at some access control patterns that can be used with Hasura to granularly allow/restrict the data
Rishichandra Wawhal
Rishichandra Wawhal
23 May, 2019
Next.js

Add Authentication and Authorization to Next.js 8 Serverless Apps using JWT and GraphQL

Learn how to add authentication to Next.js 8 Serverless App using a JWT server and add authorization by setting permissions using Hasura GraphQL Engine.
Praveen Durairaju
Praveen Durairaju
04 April, 2019
GraphQL

Add Authentication and Authorization to Vue.js Apps with Auth0 and GraphQL

Add authentication to Vue.js app with Auth0. Authorization using JWT and Hasura GraphQL permissions. A sample Vue.js app protected by login to fetch articles written by logged in user.
Praveen Durairaju
Praveen Durairaju
01 April, 2019
Authentication

A tutorial for using Firebase to add authentication and authorization to a realtime Hasura app

A step by step tutorial for using Firebase to add authentication and authorization to a realtime Hasura app with a React Frontend.
Harsha
Harsha
06 March, 2019
Ready to get started?
Start for free on Hasura Cloud or you could contact our sales team for a detailed walk-through on how Hasura may benefit your business.
Get monthly product updates
Sign up for full access to our community highlights, new features, and occasional baby animal gifs! Oh, and we have a strict no-spam rule. ✌️