skywalker-kiwi#02131
Explore posts from serversKKinde
•Created by skywalker-kiwi#02131 on 7/1/2024 in #💻┃support
Webhook Validation
Hey, I am validating my user.create webhook as per the webhooks guide, checking the id and timestamp against the
api/v1/events/{event_id}
endpoint, but I am getting a 403
status code response. I am using the content of the webhook (the encoded JWT) as my token for the validation. Am I doing something wrong?
10 replies
KKinde
•Created by skywalker-kiwi#02131 on 6/14/2024 in #💻┃support
ASP.NET API not validating token
Hi, I am configuring as ASP.NET API, and I am having issues getting my token to validate.
I have configured my validation like so:
I get my token from a Nuxt front end and pass it as an authorization header on request to the ASP.NET backend.
I have checked my JWT here: https://jwt.io/ and everything appears to be in order. I can use it just fine on my front end.
When I run my controller, the
HttpContext.User
is always null.
I have also tried this configuration setup:
Any help would be greatly appreciated14 replies
KKinde
•Created by skywalker-kiwi#02131 on 6/2/2024 in #💻┃support
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: https://discord.com/channels/1070212618549219328/1181922100806680646
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....10 replies
CCoder.com
•Created by skywalker-kiwi#02131 on 3/7/2024 in #help
Adding custom nuget package source to template
8 replies