Kinde

K

Kinde

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

Join

Auth0 import - file too large

I'm looking to import from Auth0 but I'm getting a warning that my file is too large. I have 178K users (~70mb csv). No details on how large of a file I can upload. I imagine this isn't unheard of. I can slim down the file and do this in batches, but figured you should be aware that this type of volume is not supported by the import and the response is somewhat useful, but lacking some key details....
No description

Organizations API doesn't provide full functionality

The Organizations API allows us to update an organization but certain fields we aren't able to retrieve the orginal values for to make sure that when we do inadvertantly update thier values from their current to the default value. For example, the Get Organization endpoint (GET /api/v1/organization) will return this: ``` {...

Inability to update certain Application fields via API

It looks at though certain fields of an Application are not updatable via the API (nor retrievable).
No description

Automatically adding user to organization on sign-in (not sign-up)

I understand that if a user is signing up, they can automatically be added to the organization specified on the query string (?org_code=), however, if I already have a user account at Organization A and then I try to log into Organization B, I'm getting a message. Is there so way to allow an existing user account to sign in to an organization they are not yet a part of?
No description

Is there a way to change *when* email verification comes up in the sign-up flow?

I have been working on a software product built in Remix.run framework and I am implementing Kinde for authenthication and I really like it. However I am working on the user sign up flow and I want to know is there a way to change when email verification happens? On sign-up I want users to be able to add first name, last name, emails and passwords all in one page. Then after submitting I want to be able to verify the email. ...

How to organise API Tests with REST and Kinde?

I have a restful api that I'd like protect with help of Kinde. How it is supposed to do an api testing that is protected by Kinde? (integrational testing) That should be disposable real accounts, or how? ...

nuxt ssr

$auth is null in a Vue component, which makes Kinde unusable for me (existing site). Appears composables are not supported in Nuxt with SSR disabled. I've tried using a custom sessionManager for Nitro (/server/) in Nuxt, but it doesn't persist. Auth flow works and callback URL is invoked, but there's no way to persist the session. Is there a fix, docs or something I'm missing??...

Token expired issues

Hi, I'm using Kinde with Next.js It seems like the token is note refreshed automatically when it has expired. Is this something known? `GET /api/auth/setup 401 in 32ms...

KindeServerSession values are null when using Stripe webhook

Hi, I am using NextJS and want to integrate with the Stripe API. I need to use the Stripe's webhook for billing process but as this webhook is called from Stripe URL I cannot retrieve kindeServerSession values to validate the user. ```typescript export async function POST(request: Request) { const {getUser, isAuthenticated} = getKindeServerSession(); const body = await request.text();...

not getting verification emails

our clients are saying they dont get verification emails, it used to work perfectly yesterday. are the servers down?

SMTP Server Timeout

Hi. I when I try sending a test email using SMTP settings.. it times out. I'm using Resend and configured it properly. The API key hasn't been used, so it appears Kinde's SMTP isn't calling it. I have a custom domain enabled, so I’m not sure if that may be an issue. Any ideas?...

How to setup SSO only for one organization?

i am building multy tenancy app and what to know if it is possible to setup SSO only for one oraganization? I can not find it in my dashboard

Express Protected Routes: How to pass JWT from client?

Hi, I have an express API which is using the protectRoute and getUser middlewares in each route. From the client-side, I am using Expo and getting a JWT once successfully logging in, but I'm not sure how I should pass this as a parameter when invoking one of my API endpoints. How can I do this?...

After calling createOrg({ org_name: 'name' }) a call to /token that returns 500

I am manually calling createOrg as part of the onboarding flow in my react app and I have noticed that once the createOrg comes back and the receive the code in my callback there is a call that goes to /token which comes back with 500 response. the app still works with this. Not sure if this is normal behaviour or because of the 500, after calling createOrg, the user is not automatically logged in the new Org getOrganization() returns no orgCode Am I doing something wrong? is this an issue I need to work around? ...

Custom properties added to the wrong token

I added custom properties to the id token, but I see them added to the access token instead of the id token. Is this a known issue?...
No description

Extending KindeIdToken type to include the `organizations` claim

I added an organizations claim to the id token and would like TypeScript to know about it so I could do: ``` import { getKindeServerSession } from "@kinde-oss/kinde-auth-nextjs/server"; const { getIdToken } = getKindeServerSession(); const idToken = await getIdToken();...
No description

useKindeAuth isLoading doesn't change to false

Trying to get the org in a client component, but isLoading does not change to false. What am I missing? ``` "use client";...

Getting organization handle in id token claims

When user visits myapp.com/org-handle, I'd like to check whether the user has access to the org-handle organization, and if so, show them the page. I found how to add organizations to the id token claims, but this array contains the org id and name only. I'd like the org handle to be there. Is this possible? If not, what's the recommended way to check whether the user has access to a specific org given an org handle? I also tried to fetch the list of all organizations using the Management API, but the handle is not returned there either....

Permission doesn't work

I added an "admin" permission to a user. However, await getPermissions() returns no permissions: { permissions: [], orgCode: 'org_bcddc426a6d' } And, await getPermission() returns not granted: { orgCode: 'org_bcddc426a6d', isGranted: false } What am I missing?...
No description

How to sign the user out when /logout is visited?

In my Next.js App Router application, I'd like to automatically sign the user out when the user visits /logout. This could be helpful if the user is stuck in some weird UI state due to a bug, or the "Sign out" button is not rendered for some reason. Having a simple /logout page to reset the auth could be a time saver at times. How could I achieve this?...