Kinde

K

Kinde

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

Join

React Native Session Provider

Is there an example anywhere showing how to create a session provider with the Kinde React Native SDK in an expo app? Here is the Expo docs on how they encourage to use React Context and Route Groups https://docs.expo.dev/router/reference/authentication/ ...

Localhost Development

I wanted to test the site on my cell phone, that is, I have to use my computer's IP as it doesn't have https and I get an error, how do I solve it?
No description

Is there a way to logout in nextjs without using Link Logout?

I want to logout but link component does not satisfy our team needs as we are looking for a way to logout using button click event handlers. How can we do this? is it possible? i was reviewing the repo and cant find any, if not, is this planned? i think a few hooks may be very handy for us devs with some basic functionalities like login, logout, signup

Token Expire time not changing

I am working on a Expo React Native app using @kinde-oss/react-native-sdk-0-7x On the Application Tokens section of my portal with you guys I have set every token expire time to 60 seconds but when I make the call to login and then I console.log the token I see the expires_in value is still 86400....
No description

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...