Kinde

K

Kinde

Join the community to ask questions about Kinde and get answers from other members.

Join

Missing methods on PHP SDK storage

Hi, I'm running into issues with the PHP SDK setting cookies for specific page paths instead of the root path. While trying to understand why that's happening I am attempting to set the cookie path using the setCookiePath() method that is described in the PHP SDK documentation. It doesn't seem to exist for me, do I have the wrong SDK installed somehow, or is the documentation not correct? code: $storage = Storage::getInstance()...

Loosing auth after rerender in "use client" componenent

I have a nextjs client component in hwich i want to conditionaly show if the user is logged in or not On the first render everything works, but after that it rerenders and isAuthenticated is false I can't use the server auth here cause the parent component is client allready...

Refreshing token not working on Safari (iPhone)

Hi, I seem to have a refresh token issue. From what I can see it works well in Safari desktop but when I try to come back to my app on safari iPhone after 24h it always asks me to login again. Anyone has had this issue?...
No description

conditional components is not showing

After logging in i cannot see anything (like some small components as the logout button and profile logo) at the header even after using the isLoading and isAuthenticated from useKindAuth()
No description

I just find a problem, you can't update user roles using api or sdk?????

Is it so that you can only update user role in the web console?

Stripe integration

When you guys release your billing feature will we the users need to build our own pages for our users to visit to input their payment credentials or will you guys have screens for that? Similar to how you guys have pages for user sign up and log in.

Signup isn't working anymore

I've implemented self sign-in / sign-up in my app. The sign-in is working great whether it's via email or social provider. Till today the same could be said about the sign-up but i've tried signin-up with my email, didn't work and ended up on this screen. Tried using social provider, same... BTW: Quick note the bottom of the page where it says "Motorisé par Kinde" it shouldn't be that because the top is in english and bottom in french. This is not normal...
No description

Custom Domain is not working

I use NextJS SDK to create the Login & Register link. I got the custom domain set and it shows DNS details is "Verified" and SSL certificate is "Provisioned" (as attached) and wait for days.. but the login link still redirect me to: [mysite].kinde.com/auth/xxxxxxxx. Any steps I missed?? I tried: redeploy, reset the DNS CNAME (in namecheap) from the beginning, use vercel DNS instead of namecheap, but all are unfortunately not working....
No description

Gravatar images empty

I just noticed that when users are signing in by creating a email / password account, the image URL is a gravatar URL, i.e. https://gravatar.com/avatar/somelongid?d=blank&size=200 But the image is blank. I know Gratavar images were coming soon, so maybe there's a bug here....

How can I make a custom login screen with sveltekit?

https://docs.kinde.com/authenticate/custom-configurations/custom-authentication-pages/ I saw in this documentation link that you need to create this login function, but how do I import and structure it for my system to work?...

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? ``` public async Task<bool> ValidateWebhook(string eventId, DateTime timestamp, string accessToken, CancellationToken cToken = default) {...

Why do i keep on getting invalid credetianls log?

My app is working well in development, i am consuming the management api, it usually logs "invalid credentials" even when i have correctly set the env variables and inited the management api with the init() method. However, when i try to run a built of my code for production, this log is the only thing i see and the management api does not respond, any advice?

[react-sdk][react-native-sdk (expo)] recommendation for integration testing mocks

Hey folks. I'm wondering if you Kinde team provides any recommendation on how to setup a mock KindeProvider for React SDK or for React Native SDK? I don't really know the implementation details and I'm wondering what's the best way to go about this endeavor. For example, on one of my personal projects were the Authorization is made in-house, I use MSW to intercept login/logout requests and return responses that the HTTP Clients can handle just as if they would real HTTP requests. Which thus leads for the application to be in auth or anonymous modes. This works well for me and gives high level of confidence on some more complex integration tests, but is only possible because I know all the details. Using Kinde SDK on the other hand makes this a bit more complex as I don't know all the endpoints that can be called by the SDK and the exact shape of all responses. I wonder if using a simple provider that exposes a bunch of jest.fn() functions would be the best option for me. The downside here is that performing a successful login won't actually reflect on the test state, making integration tests a bit shallow. We could argue I could test login via E2E using playwright (react) and detox (react-native) instead. Leaving integration tests only for "fully" authenticated or not authenticated at all tests....

Where is the login method of this offical doc imported

I want to build my personal login page ``` <button onClick={() => login({...

GitHub connected app

I'm working through the docs for connecting a GitHub app but at Step 4 (https://docs.kinde.com/integrate/connected-apps/add-connected-apps/#step-4-get-an-access-token-via-the-kinde-management-api) I am unsure where to get the token mentioned in:
Note: The user’s endpoint is a Kinde management API endpoint, therefore you will need a token to call this API.
Would be grateful if anyone can offer some assistant with that?...

disabling multi-orga sign-up

Take the screenshot I attached. Picture this, I have a client account that is in the CLIENT org. When i click on "Become a provider" which should sign me up as part of PROVIDER org it adds to my kinde profile that i'm part of both org. I want to disable it and what would be better for me is that if the user already exists in the DB we send to him the verification code as for a login and not for a registration.
No description

satellite domains

I am building a b2b2c saas. I am realizing that at some point I will want offer my customers ability to use their own custom root domains with my app. Is this something Kinde will offer in the future? On the clerk product they are calling this satellite domains, rather than just 'custom domains'. Is this something on the road map for Kinde. Or perhaps is there another way to accomplish this? Thanks...

How can I figure out whats gone wrong when I get this error?

I am using Kinde Auth with flutter app and using Google and Apple social logins. Yesterday while my app was being reviewed and reviewers got the error (see attached image) and they rejected the app because of this. Sentry is reporting no errors during this time and I am not sure where to look for this kind of error. Can someone from Kinde Help??
No description

How to implement refresh token

I wanted to implement the refresh token logic in nextjs app router sdk , I followed the docs but wasn't able to understand the logic/implementation, would appreciate the step by step guide. Thanks...