Kinde

K

Kinde

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

Join

Organisation cross platform permission control

Hi there, I am building an react native and react web console using the same tenant( users are also from same organisation), what is the best way to prevent cross platform access? e.g. app user will get blocked if they try to access the web console.

Redirect Urls for multi tenant application

Hi, I'm building a multi-tenant application, whereby each tenant runs on a unique domain. Is there a mechanism to to support redirect url for many domains? I have seen this article, but it assumes each tenant will be on a subdomain, which won't work for us: https://docs.kinde.com/build/domains/subdomains-for-callbacks/...

isReturnToCurrentPage in Next.js middleware

"@kinde-oss/kinde-auth-nextjs": "^2.3.3", and "next": "^14.2.3", My middleware setting:...

min version for wildcard callbacks

Hi. I'm using "@kinde-oss/kinde-auth-pkce-js": "3.0.30", and when trying to use wildcards in the allowed callback it gets stuck in a redirect loop while performing getToken(). ...

ExpressJS, redirectURL redirects to siteURL

I'm trying to set up authentication in an expressjs api, and have followed the docs from kinde. When i go to localhost:3001/login or /register i can succesfully login but then i get redirected to KINDE_SITE_URL, and not to KINDE_REDIRECT_URL. The endpoint for KINDE_REDIRECT_URL is /api/usuarios/obtenerToken where i just receive the user and session objects to show the access token in screen and then use it in further requests. The problem is that even when even i just type localhost:3001/api/usu...
No description

How can I change Kinde user ID in my code?

I create user in my MongoDB after creating user in Kinde Auth with register with Google. I get token from webhook, decode, verify and get payload.data.user. I can not see 'picture' field in user from token. By using getKindeServerSession and getUser I see picture field with path string to picture in google. I would like to create newUser with values from token and save this newUser in MongoDB. Next I want to change kinde user ID for _ID from MongoDB. How can I see 'picture' field in user from token and How can I change kinde user id in my code. Help me, Thank you 🙂...

With a custom signup screen, how do I ask user for first name and last name?

How can I collect and provide a user's first and last name to Kinde Auth during a custom signup process using email+passwordless authentication in a Next.js application? I'm currently using a custom signup screen with the following RegisterLink component: ```TSX <RegisterLink...

B2B - custom auth for each customer

Hi, we're just evaluating Kinde for our use case. We're a B2B company; our customers can use one of several methods for logging in to our application - typically either credentials for our application or their SAML IDP. If I'm reading it right, custom authentication per organization is considered an Advanced organization feature (paid) - is that correct?

Invalid Callback URL

I am getting the error above when trying to log in within a Next JS app in production (Vercel). As you can see, these are the callback URLs I have in the Kinde app, but it is still not working. I already checked for empty spaces. I also provide a picture of my env variables (I redeployed several times with the updated env variables, but still nothing...)...
No description

Sometimes when a user is logged out, it's redirected to kinde page

Hey, I have setup all the redirect URLs to my app, but sometimes when I open app after some time, I'm redirected to the kinde auth page, this one that says that you were supposed to don't find it etc. Is there any settings to redirect somewhere else than this page, I think I checked all of them and couldn't find such. Or maybe some setting to add a button like "Go to app" etc.

Is there a character limit in user properties?

e.g. I'd like to store in a custom property multi-line text, many ids and and names ("ID:Name") for which a user can access in my apps front-end. Something like, "1234:ResourceName1, 1235:ResourceName2," etc. that I can parse client side and also edit via admin api. I realize a DB is a good option for this, but trying to avoid that.

Remix app how to redirect to previous page post login

in my remix js app I have http://localhost:9001/app behind auth. So when users lands at http://localhost:9001/app/xyz it successfully goes to login page if users is not authenticated, but after login user is being redirected to homepage http://localhost:9001/ I would like to change that. Please guide me.🐮 My loader at the moment withing /app.tsx ...

How can I get the X username or the user ID of the user when they are signing up using X

Hey, I've implemented sign in using X through Kinde, but it is essential that I get the username for our product, how can I achieve this?

Changing the displayed organization name on the login screen

Long-shot question: Is it possible to dynamically change the displayed organization name on the login screen? Here is the real-life use case: We're a B2B2C SaaS. Our clients have multiple campaigns they run with our system. Their users (the consumers) are typically going to involve themselves with multiple campaigns, so they want to login using the credentials they already have. The problem is, the organization set up for a campaign references that campaign name directly, so I have to create a separate organization for each campaign. This isn't a problem except that when we now create a new campaign, each user needs to know they should register instead of login, because if they attempt to login they'll get the dreaded "You do not have access to this organization" message. I could solve this if I could use just 1 organization, but dynamically change the title displayed on that register / login screen to show the name of the campaign instead of the organization. That way all users could be in 1 organization....

Changing API settings takes an incredibly long time

When updating authorized applications for an API it takes a really long time untill these changes are reflected when requesting access tokens, both for M2M tokens and user tokens. When adding a new API and adding a new authorized application, I can't seem to request tokens for this audience for several hours after making the changes in the Kinde Admin portal. The Kinde API also shows the API is active for said application (Identifiers redacted) ```...

Support OAuth scope specific to org/work space

I have an use case where all the users can sign up with email and few users can create org/workspace with there google or Microsoft account with scope calendar so that application can access that particular user calender within org/workspace Does kinde support it...

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