Setting the audience for Nuxt to get token to be used with ASP.NET API
Hi, I am having issues assigning at audience to my tokens for my nuxt+asp.net application.
I have followed the instructions for both sdks, and I have configured my jwt validation process as per: 💻┃supportResolving auth in back-end (.NET) with token retrieved from front-end (React)
I have defined an environment variable in my
I have allowed the Kinde Management API access as per the instructions in the docs: https://docs.kinde.com/developer-tools/kinde-api/register-an-api/
I had a look at the nuxt composable
The long term intent is to allow users to log in via the front end, get their access token, store it in the session, and then use that for each backend request.
Any suggestions would be greatly appreciated.
I was considering going down the
I have followed the instructions for both sdks, and I have configured my jwt validation process as per: 💻┃supportResolving auth in back-end (.NET) with token retrieved from front-end (React)
I have defined an environment variable in my
.env file on my front end and I can get a token just fine. The issue is that the token doesn't have the aud defined (it's just an empty [])I have allowed the Kinde Management API access as per the instructions in the docs: https://docs.kinde.com/developer-tools/kinde-api/register-an-api/
I had a look at the nuxt composable
useKindeClient but that doesn't take any arguments and so I can't define an audience?The long term intent is to allow users to log in via the front end, get their access token, store it in the session, and then use that for each backend request.
Any suggestions would be greatly appreciated.
I was considering going down the
ts route, but wasn't sure whether that would clash at all with anything....Kinde docs
Our developer tools provide everything you need to get started with Kinde.
