/plushcap/analysis/hasura/azure-active-directory-integration-hasura-jwt-claims-mapping

Azure Active Directory Integration with Hasura JWT Claims Mapping

What's this blog post about?

The integration of Azure Active Directory with Hasura JWT claims mapping is discussed in this text. It explains how to implement JWT claims mapping when some auth providers do not allow users to add custom claims. The process involves using a JSON object called "claims_map" where keys are session variables and values can be a JSON path or a literal value. A sample implementation process is provided along with the necessary setup instructions for Hasura Cloud, Azure Functions, and Azure AD B2C. Custom claims are added to the Azure AD B2C setup, and environment variables are set up locally and in the cloud app. Finally, the text explains how to use Azure tokens with Hasura instance and provides an example of JWT token claims mapping for non-B2C tenants.

Company
Hasura

Date published
March 25, 2021

Author(s)
Allison Kunz

Word count
1280

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.