VKinde
VKinde
KKinde
Created by ryno1234. on 5/5/2024 in #💻┃support
Organizations API doesn't provide full functionality
Hey! Looking into the fix for this, thanks for bringing this to our attention!
13 replies
KKinde
Created by Kalle Kuhlmann on 3/31/2024 in #💻┃support
testing best practices
Hey! Getting back on this: There's no way to initially generate the JWT inside the CI/CD pipeline unfortunately. That requires a browser at this time. What people have done is essentially generate the JWT externally, take it from the browser cookies, and then inject that JWT into the pipeline. Once it's inside, you can do the refresh_token commands to make it live indefinitely. Since the token is available, you can redefine and alter it's creds/access/feature flags/orgs as you wish then refresh it to test the methods. I'll try to find an example of how people have implimented this, but I do know this was done before
15 replies
KKinde
Created by Kalle Kuhlmann on 3/31/2024 in #💻┃support
testing best practices
Got it, you're looking for CI/CD testing in gitlab for your Auth flows and are asking how to generate the user JWTs via cmd. Let me reach out internally and get back to you on this.
15 replies
KKinde
Created by Kalle Kuhlmann on 3/31/2024 in #💻┃support
testing best practices
You'll need to create a m2m application here: https://kinde.com/docs/build/add-a-m2m-application-for-api-access/ Then grab use this access token, which you can get from this: https://kinde.com/docs/build/get-access-token-for-connecting-securely-to-kindes-api/ Afterwards, you can do straightforward tests for each individual endpoint as needed! Simple curl requests can be used to test it then validate the request credentials. You'll get an HTTP response back, which in turn can signal passing/etc. For the feature flags, generate a new M2M token with different permissions and you can test against that. If you reuse M2M tokens it won't count against your limit, but An M2M token is generated each time you call the /oauth2/token which does count towards the limit.
15 replies
KKinde
Created by Kalle Kuhlmann on 3/31/2024 in #💻┃support
testing best practices
Hey! What exactly are you trying to test in the CI/CD flow? Are you making like a Jenkins pipeline and securing routes? Are you creating API routes that you want to authenticate with Kinde? Or like a set up of scripts that would mimic an auth flow against your services through CI/CD?
15 replies
KKinde
Created by Egemen on 4/1/2024 in #💻┃support
Nuxt, router.push("/api/login") raises 404 error
Hey! Curious: can you try window.location.href instead of the router push? I'm assuming all of this is client side as well?
6 replies
KKinde
Created by jamie on 3/29/2024 in #💻┃support
Unable to make a POST request to retrieve a token with `grant_type` of `authorization_code`
Can you double check and make sure you're passing the correct authorization code in the param?
37 replies
KKinde
Created by jamie on 3/29/2024 in #💻┃support
Unable to make a POST request to retrieve a token with `grant_type` of `authorization_code`
Sorry, you have to pass the &code=<CALLBACK_AUTHORIZATION_CODE> at the end of that request
37 replies
KKinde
Created by jamie on 3/29/2024 in #💻┃support
Unable to make a POST request to retrieve a token with `grant_type` of `authorization_code`
That should be just for the access token itself, not specifically tied to M2M
37 replies
KKinde
Created by jamie on 3/29/2024 in #💻┃support
Unable to make a POST request to retrieve a token with `grant_type` of `authorization_code`
Can you try passing that through and see if you get the token back?
37 replies
KKinde
Created by jamie on 3/29/2024 in #💻┃support
Unable to make a POST request to retrieve a token with `grant_type` of `authorization_code`
Here's a node example:
fetch(`${<your_domain>}.kinde.com/oauth2/token`, {
method: "POST",
headers: {
"content-type": "application/x-www-form-urlencoded",
},
body: new URLSearchParams({
audience: "<auth_domain>/api",
grant_type: "authorization_code",
client_id: <client_id>,
client_secret: <client_secret>,
}),
})
fetch(`${<your_domain>}.kinde.com/oauth2/token`, {
method: "POST",
headers: {
"content-type": "application/x-www-form-urlencoded",
},
body: new URLSearchParams({
audience: "<auth_domain>/api",
grant_type: "authorization_code",
client_id: <client_id>,
client_secret: <client_secret>,
}),
})
37 replies
KKinde
Created by H4x0rus on 2/23/2024 in #💻┃support
kinde and Cloudflare Workers
Hey! What exactly are you getting hung up on in the deployment? It should be as straightforward as just deploying your app that works locally, adjusting for the merge, then it should be fine working
8 replies
KKinde
Created by SBlock_ on 2/1/2024 in #💻┃support
The specified organization could not be found.
Hey! Are you still facing this issue? Is this from you trying to log in?
34 replies
KKinde
Created by brattberg on 12/21/2023 in #💻┃support
This client must include a code_challenge when performing the authorize code flow, but it is missing
Hi there! Daniel is exactly right, you will have to create a back-end web app to get the secret for the NextJS SDK.
3 replies
KKinde
Created by Adrian Sanchez on 12/1/2023 in #💻┃support
Problem when trying to edit role when limit plan is reached
Hey! This seems like a bug; right now, you'd prob have to delete the role then make another one with your intended permissions. But we are gonna try and fix this and get back to you! Thanks for pointing this out to us.
4 replies
KKinde
Created by NanaGaisie on 11/6/2023 in #💻┃support
Integration with Convex Custom Auth
I'm waiting to hear back, but it looks like this will have to be supported by an external package. This will most likely look like (or just be) the above one that umuthopeyildrium created above as this would have to be community supported for the time being, so will be offered in a "as-is" state. I'll have more details in the coming days
14 replies
KKinde
Created by Eranga on 11/30/2023 in #💻┃support
kinde_flutter_sdk not being recognised
I can't seem to replicate on my end; both of those errors you're seeing are having to do with not importing the SDK correctly. The chrome one is saying it's missing the .dart file.
14 replies
KKinde
Created by Eranga on 11/30/2023 in #💻┃support
kinde_flutter_sdk not being recognised
Try: cd ios pod repo update pod install If that doesn't work, try to flutter pub get to redo the symlinking if its broken/missing Afterwards check if your plugin that you have installed sees: https://github.com/kinde-oss/kinde-sdk-ios/blob/main/KindeSDK.podspec If that doesn't work, you may need to manually link the plugin in your macOS project by adding the corresponding .podspec reference in the macos/Podfile.
14 replies
KKinde
Created by JJ on 11/30/2023 in #💻┃support
sign out
Have you followed the steps mentioned in this specific section? : https://kinde.com/docs/developer-tools/using-kinde-without-an-sdk/#handling-the-callback Can you double check and see if the above 2 links you posted as your callbacks are accessible in your localhost instance? If they are, can you check your .env and your Kinde App/Portal settings to see if your appolication matches those callback URLs?
4 replies
KKinde
Created by Vector on 11/29/2023 in #💻┃support
Design bugs
What specifically are you referring to in terms of different colors? The white box vs the blue background?
13 replies