• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
FusionAuth
  • Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login

How does one add custom claims to the JWT issued by the OAuth flow?

Scheduled Pinned Locked Moved Solved
Q&A
claims jwt oauth
1
2
10.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    dan
    last edited by 11 May 2020, 17:34

    How does one add custom claims to the JWT issued by an OAuth flow?

    I'm trying to use FusionAuth to add claims required by Hasura.

    --
    FusionAuth - Auth so modern you can download it.
    https://fusionauth.io

    1 Reply Last reply Reply Quote 0
    • D
      dan
      last edited by 11 May 2020, 17:35

      In general you are going to want to use a Lambda to populate additional claims: https://fusionauth.io/docs/v1/tech/lambdas/jwt-populate

      This issue has some notes about Hasura in particular: https://github.com/FusionAuth/fusionauth-issues/issues/61

      --
      FusionAuth - Auth so modern you can download it.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      • B bharath.yadavally referenced this topic on 3 Jan 2023, 03:17
      1 out of 2
      • First post
        1/2
        Last post