kinde-oss / kinde-auth-nextjs

Kinde NextJS SDK - authentication for server rendered apps
https://kinde.com/docs/developer-tools/nextjs-sdk/
MIT License
150 stars 20 forks source link

Feature request: (Unable to Create JWT Claims and Integrate with Hasura in Kinde Auth Application) #100

Closed alisahindev closed 9 months ago

alisahindev commented 10 months ago

Prerequisites

What is the problem you’re trying to solve?

Hello,I am currently working on integrating Hasura with the Kinde Auth application. I'm facing an issue with creating JWT claims and adding them to the token. Here are the steps I've attempted, but encountered difficulties:

What solution would you like to see?

I've been trying to generate JWT claims for the integration.I need guidance on how to properly add these claims to the token for seamless integration with Hasura.Could someone provide guidance or a step-by-step tutorial on how to achieve this integration between Kinde Auth and Hasura?Thank you in advance for your help.

Additional information

No response

DaveOrDead commented 9 months ago

Hey @alisahindev apologies for the delayed response:

In Kinde, go to Settings > Applications and select Details on your application.

  1. Select Tokens.
  2. Scroll to the Token integrations section and switch the toggle on for Hasura mapping
  3. Select Save. Screenshot 2024-01-04 at 4 35 47 pm