Kinde

K

Kinde

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

Join

Netlify functions, Web Crypto API (crypto.subtle), set AWS_LAMBDA_JS_RUNTIME to nodejs20.x

I am not posting this as a support request, but to help anyone else in the future. I was having the following issue... `TypeError: Cannot read properties of undefined (reading 'subtle')...

Support for Flutter Web

Hi Guys is there anyway that flutter web will be supported in the future ? thanks

Redirecting URL

Hi. I'm trying to implement kinde solution for my admin login. Login works fine as expected but logout is not working as I want. I imported LogoutLink from kinde and when I use it I am redirected to https://myaccount.kinde.com/logged-out. In kinde details I have http://localhost:3000/admin. What I have to change is to be redirected to http://localhost:3000/admin. Regards...

Constantly getting ERR_TOO_MANY_REDIRECTS in production

Hello, when I login or sin up, I constantly get this page with ERR_TOO_MANY_REDIRECTS. I deleted my cookies and tried on different navigators but I do not see the problem. Locally, everyhing is fine.
No description

Astro SDK

When will the Astro SDK be added? I find it difficult to use it with the JavaScript SDK. In my case what I want is that my landing example.com has Astro and then the app domain using Next, app.example.com also use Kinde and are connected, will it be possible when they release the SDK? From the landing it takes you to the auth custom domain and then to the app but if you re-enter the landing authenticated you also see your kinde data or it redirects you to the app if you already have an account, connecting domain with subdomain....

Change default country for phone number input

When setting up 2FA, is there a way to change the default country for phone inputs? It's initialized to AUS which doesn't make sense for my app mainly having US users.
No description

Is it possible to get org code from the response after adding a organization via management api

I am able to successfully add organization via kinde's management api. However, i need to get the org_code to insert into my database via prisma. I looked at the response from calling the https://apps.kinde.com/api/v1/organization api and it just return the status, statusText, body etc but there is no mention of the org_code created. Can someone advise me on this? Thanks

Organizations Usage

What is the use of the organizations? I might be interested in implementing it in my app but I don't know exactly what they are for. Are the users in each one different or what common uses could they have in an app? Greetings.

Profile picture

Isn't there a way to integrate into the Kinde native form that people can upload a profile picture and then receive it in the user.created webhook with a temporary link to a kinde cdn or something like that so we can then save it to our cdn?

ExpressJS SDK working locally, but not hosted, need help with logging

I have run various versions of my kinde-node-express app locally, and authentication and role-based access work fine, allowing me to protect directory paths based on roles. I tried publishing to vercel first, and then tried fly.io, and still not working as it did locally. I have checked (e.g., running "printenv" fly.io console) and all URLs are correct, so it is not that. Currently running on fly.io, all my directory paths are protected from access. Accessing "/login" does send me correctly to kinde.com for login and I get the auth code, which I enter but am then redirected to my "unAuthorisedUrl" rather than being able to access the directory paths as I can locally....

refresh token guide needed

i would like to know how can i refresh the jwt token in client component in nextjs, does it work in server component only?, i mean if some feature or properties are changed then they are reflected in new token right?, so how do i refreshtoken without the need of logout and login, i searched some more docs, and got something related to this on your issues in github, i think this is what i am looking for : https://github.com/kinde-oss/kinde-auth-nextjs/pull/254, but i not able to understand it, ca...

kinde_client.is_authenticated()

Hi Kinde Support Team and Community. I am building an application with Python Flask (Server-Side Rendering) and KindeOAuth. When I use kinde_client.is_authenticated(), it always returns True even an unauthenticated user tries to access the login page and still uses the last person login session/Token access. Is there any way to resolve the issue of gatekeeping my app from unauthenticated people accessing my confidential app?...
No description

KindeProvider Usage

I would like to know what is the use of using the KindeProvider component, since I just found out that it exists and my app works perfectly and maintains the user session without using the component.

Authentication Issue on Vercel Deployment

Hi Kinde team, I'm having trouble with Kinde auth in my Vite + React + TS app when deployed to Vercel. Everything works fine on my local env, but the auth flow breaks after deploying. Problem Summary:...

NextJS PWA app gets stuck at this screen

I have a project which I've converted to a PWA. We use Kinde for the auth of course. However, sometimes, when I open the app, it gets stuck at this screen. There is no button I can click and nothing I can do. It is stuck indefinitely. It feels like a auth page cause that is the only page that doesn't have the look and feel of our app. From the logs I can see it opens up the base file "/". And that page uses this code: const { isAuthenticated } = getKindeServerSession(); if (await isAuthenticated()) {...
No description

JWT guide needed

understand this scenario, my app requires user to fill up extra form for other details after authentication, i want that user should be able to use the platform's some routes if the user has completed the form fillup so i am using nextjs for frontend and nodejs express for backend i am thinking of using a flag like isProfileComplete that i will get from jwt token and then create a middleware to protect the routes on basis of the flag in token, how to add this in jwt then fetch it in backend and...

useKindeBrowserClient isAuthenticated

In my nextjs app, I'm using Kinde Auth: ` import { useKindeBrowserClient } from "@kinde-oss/kinde-auth-nextjs"; ...

Extra fields using Kinde

I would like to add to my form using Kinde an extra field that would be a selector of options that the user can select from and then I receive it in the webhook from when they register. How do I do this?

Personalized page using email codes

How do I make a custom page with my own UI using Nextjs but being able to use the method of sending code by email?

Refresh claims approach

Hi, I'm trying to figure out how to refresh claims / user details with Kinde. There are few scenarios I'm trying to solve this for: - As part of registration activities a user might be allocated to an organisation & role via the M2M API. Their original access token doesn't have these claims and they end up with forbidden access. I understand the why as the Nuxt server is using the cached values. - Users might have their roles changes within an admin section using the M2M API. ...