Kinde

K

Kinde

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

Join

Protect Next.js route handlers with machine-to-machine application?

Hi, I want to expose the route handlers defined in Next.js 14 application for external applications to call using OAuth 2 client credentials flow. Can I do this with machine-to-machine application? I tried to get the access token like this,...

Logout button doesn't rendered

I have implemented user auth using kinde successfully and my ecommerce website is able to login and logout. But, after hosting to github and when I login to my account, I am redirected to the homepage but the login button is still there which is suppose to be the logout button(I look at the console and it says 'Invalid State'). But, when I click the login button again then the logout button is rendered. Pls help me solve this, I can send my code if you want.

Chaining Middlewares Next.JS Kinde + next-international

Hi, as the title says I'm struggling to figure out how to use two different Next.js middlewares together. Has anyone tried this Using the Kinde middleware + something else. Or am I approaching this the wrong way? ...

Has anyone used kinde_flutter_sdk to build android app?

I am having issues building android APK with kinde_flutter_sdk for auth. I install the SDK and without even using the sdk in the code just building the code to run on simulator I get the following error ```FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':flutter_inappwebview'.
Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl....

Unable to login to our dashboard in Kinde

Hello, I'm getting this error when I sign in to my account 404 Domain not found The requested domain could not be found. ...

Billing feature launch date

When will the billing feature be available to integrate and use. At least give the tentative date

What would be the most secure way to create invitation link for users to join an organizations ?

I'm using resend to send the invitation link (Nextjs app router SDK). The link should be created with the org_code. I would like to make it one-time use. Let me know if you have any other security concerns I should think about. I know that I may need to implement the thing or a part of it myself. ...

Does the expo/RN SDK work with react native web?

Hi, I am starting a new project and wanted to know if the Expo SDK supports React Native Web?

How to prefill "First name" and "Last name" like we can do email with "login_hint"

We have a custom authentication page. So email/first name/last name are already curated. We are able to pass "email" via "login_hint" authUrlParam. Is there a way to also pass and prefill the first/last name ?...

Why I am getting this error , even though I have setup callback url and redirect url.

eroor: The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.

add user in mongodb database on nuxt

Hey, I'm currently trying to create a nuxt app. The login is working but I don't know how I can add my user into my db when he create an account so I can modify and add data to him. Can you help me please...

work email verification

Hi, We have been using kinde for our applications and it’s awesome. Thanks for this wonderful tool. I just have a question if there is a way to only allow sign up access to work emails, like not the gmail ones. If the user is trying to sign in with a gmail (i.e. personal account), it should block the sign up process. ...

your connection is not private

Hey guys, 1% of our SaaS users get "Your connection is not private" it happens when they visit the website, sign up and add the verification code, then they get redirected to the homepage which then they get this error. Your connection is not private...

NextJs + Kinde SDK 2.2.3 deployment on vercel failed

I tried to deploy my application on vercel. I'm using Nextjs version "14.0.4" and Kinde version 2.2.3. What's weird is that when I try to build locally it works.
No description

Newbie question: How do we save post login user into event.locals when using kinde with sveltekit?

HI, I am trying to use Kinde with my existing sveltekit project and wondering how are people using event.locals to save loggedin user and token. I can't seem to find in docs any example of the same? are people checking for isAuthenticated on every route?

How to protect APIs for SaaS with API-first approach?

Let's assume we have main API backend with business logic and access to database. Also we have Next.js application (with React Server Components) which act as client to this API (without database access). Kinde is connected with Next.js client. Customer can use this API via our Next.js client or directly. I can create new M2M application per each user and share client id and client secret of this application with my customer. Or I can generate API key instead. Anyway, how to link this applicatio...

Logout the same user if logged in on another device

How can we achieve the mechanism in kinde auth nextjs sdk such that if I have logged in on one device and at the concurrent time I log in from another device then the previous session of device should be logged out Summary: I want to restrict the concurrent log in of the same user....

Expired Token Handling

React SDK. To many of the errors are hidden behind console.logs making it impossible to deal with. We also don't need a console log when a token is valid. Currently when a token is expired there is no way to deal with this error making the user journey quite bad. Also a way to refresh a token would be nice too. I have used many auth libraries before but this one feels unfinished currently. Its also very hard to develop with because when you refresh you lose auth and yes there is the isDangerouslyUseLocalStorage which was working but since the last few updates its now forcing me to do a login every time....
No description

Invalid State on subdomain login

hey folks, we are running into login issues on our development environments. we use render and it automatically creates a deployment for our PR with the domain https://admin-portal-pr-{number}.onrender.com . kinde is configured with https://admin-portal-*.onrender.com/ in allowed callback urls. ...
No description