Authentication and Authorization

Authentication with Hasura can be implemented using

In all of these cases, it is important to configure an admin secret to begin with.

Authorization with Hasura can be implemented using

  • Role based permissions: per role, per schema, per table, per operation type
  • Set role access rules (records and fields) for Insert, Select, Update, and Delete

Both Authentication and Authorization have been covered in our Hasura Basics tutorial. Do check that out.

Also for the slack model being used in this tutorial, we have the Slack Authorization tutorial talking about setting up role based permissions from scratch.

Close

Get Started with GraphQL Now

Hasura Cloud gives you a fully managed, production ready GraphQL API as a service to help you build modern apps faster.
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.
Stay in the know
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. ✌️