Kinde

K

Kinde

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

Join

Microsoft Entra ID (OAuth 2.0) - Always show sign-in button

My client set up Entra ID OAuth for Kinde (we also still have email + code login enabled for the app), and it seems like login works fine and automatically redirects any user with an email configured under home realm discovery to the M365 login, but we'd like to enable the "Sign in with Microsoft" button if possible. When I enabled the "Always show sign-in button" under the Entra ID configuration and hit save, nothing changes on the Kinde auth login page, and when I return back to the OAuth conf...
No description

Change redirect_uri in Remix framework

Hi! I'm testing kinde with react router v7 (remix) and everything seems to be working correctly, just one question. How can we change the redirect_uri? I've changed paths to use /auth instead of kinde-auth everywhere but the sdk still makes the request with the old url. Thanks a lot!...

Is it possible to set or update user id before or after user creation

I accidentally deleted a user from Kinde which is still in use in our application. The users id is spread across db tables. Is there a way to create a new user with the same user id or create a user and then update the user id in Kinde? Thanks!

Use Kinde Auth with Ionic react

Good day, I have an app built on top of Kinde auth with users who have signed up but upon implementation with ionic react using the Kinde React SDK, when the users logs in instead of being taken back to the app the auth call back url is just stuck in the browser. I must note ionic is for mobile apps a wrapper ontop of react

How to implement the token based authentication in GRPC interceptor with Python SDK?

I want to implement token-based authentication in a gRPC interceptor using the Python SDK. In the interceptor of a gRPC server’s request flow, I aim to validate the bearer token. Below is the code I have implemented so far:
 ```python class AuthInterceptor(grpc.ServerInterceptor):...

Pass custom parameters through authUrlParams

I have a multi-tenant/multi-app application. I'm trying to pass a custom parameter in authUrlParams to then access in the token as a custom claim. How?
Code:- <LoginLink authUrlParams={{ mz_application_id: "123" }}>Sign in</LoginLink> I've created a custom property for applications and marked it as public. The property passed in the token is null. I do receive a value if I set it through the UI, but this is not going to scale. Would love some guidance. Thx....

Kinde + react router v7 (remix)

Hi, the doc and code to integrate kinde into remix is not compatible with react-router v7, which is the new version for remix (remix and react-router merged). They have a really good doc about how to upgrade: https://reactrouter.com/upgrading/remix Could the kinde team look into it? 🙏...

Automatically call api/auth/logout

In local it work fine but in production after i login it automatic call api/auth/logout as you see in the image("status code 307 temporary Redirect"). Im using nextjs and deploy with vercel...
No description

Android getToken in non-activity classes.

Hi, In my use case, I'm trying to request to an API hosted on cloudflare worker in an Android background service. My plan is to use the getToken method to get the JWT, and the worker will verify the JWT, once its verified the worker will perform some task and return the result. However, I found that an AppCompatActivity is required to initialize the SDK, which is not possible to obtain in a background task. Thus I can't use the SDK nor get the JWT in non-activity classes. Is there an official way to mitigate this issue? I read the source code of the SDK. It seems like only the login and logout tasks requires an actual Activity. The rest of them including getToken() should work with a Context instance, which is quite easy to obtain in background tasks. If you guys are OK, I can submit a pull request to improve this 🙂 Thanks in advance!...

Where to pass `KINDE_REDIRECT_URL` instead of defining in `.env` file?

Hi, I am using sveltekit, I have gone through, kinde's sveltekit guide, in the document, it is mentioned to put such variables in .env file. (Variables like: KINDE_REDIRECT_URL, KINDE_POST_LOGOUT_REDIRECT_URL etc etc). Is there a way to not put these variables in .env file and pass it to the kinde client? (Reference: https://docs.kinde.com/developer-tools/sdks/backend/sveltekit-sdk/#configure-your-app)...

Kinde with Nuxt & Supabase

Hi, I was able to setup Kinde with my Nuxt project. However, I am having difficulty getting the access token to send it to Supabase, my backend. Since I am not using SSR, I am not sure what the correct mechanism is. Any help is appreciated. Thanks...

SSO Inactivity Timeout

Hi, How does kinde to extend the session inactivity timeout for an individual user? We authenticate the user against a local jwks cache. So to control an inactivity timeout for an individual user, how would this work? Thanks

Username enumeration issue

We have noticed that when trying to log in with a user that does not exist, a "No account found with this email" error message displays on the login screen. This is problematic because in cases where they do exist, different behaviour applies and you are directed to the password screen. This means it is possible to determine which usernames are valid based on the absence of the error message, and could then lead to increased numbers of malicious attempts on that user because it is shown to be valid....
No description

Nextjs 15 .1.4 - cookies() should be awaited before using its value

hi! getting this runtime error in my api route /api/auth/[kindeAuth] used cookies().get('access_token') cookies() should be awaited before using its value. The only code in my api route is: ` import { handleAuth } from "@kinde-oss/kinde-auth-nextjs/server";...

401 when using request access form

Hey! I implemented the request access form. However, upon submition, the return access request returns 401. Is there something that still needs to be done on our side to make it work?

Kinde management API returns "scope missing"

Hello, I went through the Youtube tutorial on testing the Management API https://www.youtube.com/watch?v=iqO7CL3QyY8 and all is going well, except in the last step i get scope is missing, even though i have read:users enabled in my m2m application. What am I doing wrong?
No description

NEXT_PUBLIC_KINDE_AUTH_API_PATH and kinde middleware

I learned from the kinde ai that NEXT_PUBLIC_KINDE_AUTH_API_PATH helps kinde work in situations where I use basePath in my next.js project. However, it seems that if I use the kinde middleware approach, that doesn't work, as the redirect after the login does not make use of that variable. Suggestions on how to find a workaround for that?

Did not use affiliate link

I've been using Bytegrad's videos, but I had been watching them on my phone. I didn't click on any link when I went to sign up, I just googled. How can I make sure he gets the appropriate attribution for my recent purchase?

Error code: 1656

hi i am new to kinde. i am working on a next js project. so i setup kinde it was working fine on localhost. for mobile view i try to use network URL for that i changed all .env.local and kinde dashboard URLs. but getting Error code: 1656...

504 Errors

So I tried to continue development on one of my projects, And noticed Kinde was only working on one of them as all other projects return 504. So I went to admin panel of kinde and also there I was only able to login into 1 admin panel of for example business A , the admin panel of B C D were unreachable....