Kinde

K

Kinde

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

Join

Kinde OAuth "State not found" - Cookie present but state not decrypted

Hey! I'm facing an issue with Kinde OAuth authentication on my Nuxt 3 app in production (HTTPS + Nginx reverse proxy). When I'm working locally, everything works fine, but when I launch it in production on an Ubuntu server with Docker, I can't connect. This issue varies depending on the computer. I tested it on a Mac with Safari, and it works. I tested it on my Windows machine, and I get the error. I don't get it on my phone, and some other people don't get it on Windows either. I don't understand it at all. ...
No description

Import users from wordpress

I have successfully setup the kinde authentication for new users on my website and it works, but i need to import older users into kinde. I am using the Kinde Auth plugin which lets me export the necessary data and import it into kinde. the csv i download contains rows like id,first_name,last_name,email,salt,salt_position,hashed_password,hashing_method,email_verified where salt position is prefix and hashing_method is brcypt. Yes that is not a typo, it doesn't say bcrypt but brcypt instead....

Self-serve and members & roles

I’ve just started using Kinde and chose it largely because of the self-serve feature, where we can let our customers manage their own users. I’ve been trying to get it working for an hour now, but without success. I eventually found on another page in your documentation that “members & roles” is coming soon. On another page there’s no mention of “coming soon,” and the way it’s written makes it seem like the functionality already exists. Now I’m wondering how soon is “soon”?

Import users without email

We're looking at migrating our SaaS application to Kinde from our in-house custom auth system and most of our current users do not have an email address associated with their accounts. And the ones that do have one we don't really know if its valid because it was never verified. I can import them just fine to my Kinde evaluation server but when I try to login using one of these users, Kinde prompts for email. I understand why, but we'd rather have a less intrusive way of getting their email without blocking them from using the software. (For new users registering after we have moved to Kinde, we are fine with requiring them to provide an email.)...

500 Error on Kinde Server - Password Set Form with Existing Email

Hello Kinde Team, Getting a 500 Internal Server Error on Kinde's server when a user tries to register with an email that already exists. The error occurs on Kinde's UI before any request reaches our backend. Steps i followed to get said error: ...
No description

Query metered usage of a user

I'm wondering if it's possible to check the metered usage of a customer under the current billing period. I can't really tell from the API docs if the get billing entitlements provides this information (it seems it doesn't). But I have found this article suggesting it is possible for me to query usage records: ”Instead of building your own data aggregation and rating engine, you can leverage Kinde’s API-first architecture. Your application’s responsibility is to report usage events for each customer to the Kinde API. Kinde takes care of the rest: It ingests and aggregates the usage data. [...]...

`isAuthenticated()` state in android sdk did not reactive for top-activity

i have 2 activity, first one initialize the sdk and the state is unauthenticated, then click a button to go into second activity which display user information and will do authentication there. then if i login in second activity, when i get back to first activity, isAuthenticated() still false because the sdk is not reactive for the whole apk....

cancel plan

hi there, i would love to cancel my plan. i cannot do it form the ui.

How is it possible our users sometimes end up on the "Signed out" screen?

Hello there, most of the times, when kindeClient.logout() is called, our users end up on the logout_uri defined in createKindeClient (we're using @kinde-oss/kinde-auth-pkce-js) But some users report ending up in the Signed out screen. Which is a problem for us, as we have an web-app hosted inside a webview and the moment they end up in this screen, it means they cannot "close the window" - only by restarting the app. - QUICK FIX? Is it possible to have a "close" button added to this screen? - ROOT CAUSE? Why are they ending up in this screen and not on the defined logout_uri? And what makes it that sometimes they're there and some other times they're not? ...
No description

calling logout, and logging in on another account preserves the first account

I am wondering if I am doing something wrong, or if there's a bug. Quite simple to recreate; Have two accounts A and B. Log in to account A, I tested both with 1 time password and username/password. Logout from the app with logout(); const { logout } = useKindeAuth(); - User A goes through the logout redirect flow. Now log in on account B. The user is redirected to the application but the state preserved is account A. I have seen it happen multiple times, both in test and production. It's often not a problem because most "normal users" only have one account, none the less it feels like something is not right....

Obtaining a Users' Information from an API key

Is my understanding correct that there's no direct way to present a user-supplied API key and have the Kinde API return a JWT token? All I'm finding in the docs is an API Key validation endpoint, but that endpoint doesn't actually return any user info (Roles, Permissions, Info, etc). My usecase here is for enabling users to self-serve creating their own API keys and then being able to programatically hit API endpoints we expose. The idea being that their API key grants the same permissions as if...

using email as unique indicator for different login method.

these 2 users are the same email but using different oauth2, the one with google, and another with discord, these are the same email, it should be combined into 1 account with 2 identity, any idea how to make that?
No description

Specify a redirect_uri on login?

Is there a way i can specify dynamically if a user clicks 1 signin button after login in it will go to /dashboard/1 however if they click another one it will go to /dashboard/2 as a example i thought this may work looking at this but doesnt seem to work https://docs.kinde.com/design/customize-with-code/understand-page-design/#set-the-page-default-export-function ``` login({...

When user email is reused and register flow is taken, get error:

json":"{"status": "error", "error_id": "c87fb4035a6c4f76b2c2b9ed892d4d10"}" I have both password connections on : email + passworkd and Username for the same app....

Custom domain verification continually failing

I'm trying to authenticate my domain right now in Cloudflare, and I'm adding the two CNAME records that I'm instructed to. I've done this probably about two or three times in terms of redoing the DNS entry host name and value. All the times things look like it's provisioning, and then they ultimately fail. There's no error messages, and I'm unsure why. Is anyone able to help chime in about this or have any experience with this?...

Recommended approach for handling long lived tabs

My understanding is that when a user logs in with Kinde they are issued a short lived access token and a medium lifetime refresh token. Once the refresh token has expired, the user is effectively no longer logged in. Whats is the recommended approach for handling long lived tabs? If a user opens a tab to my Kinde authenticated website, logs in, then walks away from their laptop for a week, and comes back to the tab - what should happen next? One option would be to automatically / with a prompt redirect them to login again. However, if they have any clientside unsaved changes then this risks losing those changes. Is there any way to support logging the user back in without them having to be redirected back to Kinde?...

Logout internal server error

Hey guys! I'm working on a react application and cannot logout from the app, because an error 500 is triggered on the server side of Kinde. Do you have any clue about it? I'm using the logout function from useKindeAuth() hook....
No description

B1902: Stripe requires additional information to be provided

Hey, we are trying to connect our Stripe account, but getting this error message: B1902: Stripe requires additional information to be provided. When we click on "Update Stripe information", it tries to get us to create a new Stripe Account, but we already have a fully functional Stripe account....

B1902: Stripe requires additional information to be provided.

All info has been entered including Id verification When I click the Account ID link https://dashboard.stripe.com/test/connect/accounts/acct_1SKKZJAXzhui11RF/activity Stripe redirects to ...

search user scope / org boundary

Hello Team, Is there a way to limit scope of search to users of organization? https://docs.kinde.com/api/v1/search/users ...
Next