nuxt-modules / kinde

Kinde integration for Nuxt
62 stars 5 forks source link

Setting an audience for authentication tokens #102

Open compdesigner-nz opened 1 month ago

compdesigner-nz commented 1 month ago

Hi, I'm hoping to get some guidance on how I might configure my auth flow to get audiences assigning to my tokens. When I get my access tokens, they do not have an audience assigned, and I need this to authenticate in my asp.net backend.

I have also posted a question about it here:

https://discord.com/channels/1070212618549219328/1246729027386085376

compdesigner-nz commented 1 month ago

I have added a NUXT_KINDE_AUDIENCE value to my .env file, and it doesn't appear to be applying to my tokens. They still have an [] value for the aud property