Kinde

K

Kinde

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

Join

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

PWA webview issue

I am using SSO for PWA which pops up webview for login creds and then app stays on webview instead of going natively.

16/17-APRIL Outage?

Hi. Can I please have some additional information regarding what happened ~8 hours ago? Thanks.

AU auth still down

every other region came back relatively quickly, wondering if it's being looked at by the global team or dependant on aussie staff

Authentication issue

facing issues with kinde authentication, showing all systems operational in status page. However we are getting 503 Service Temporarily Unavailable...
No description

Authentication not working Amplify

Works perfectly well when tested locally. I updated env variables in Amplify and updated the build but it does not work. I submitted to support but received no response what the issue could be.

How to validate an access token in Python?

Hi there, I'm using Fast API as my backend. I read the blog post but the post assumes that I'm handling the auth from my backend. However, my frontend (NextJS) manages the auth flow. I'm looking for a way such that the FE sends me the access-token only and then I validate it on the backend before allowing any requests. Can someone please point me to the right resources to understand how to achieve this?...

help with flutter custom sign-in and sign-up

Hello, my friend and I are trying to make use of the new custom sign-in and sign-up in our flutter app. We followed kinde flutter SDK for the setup and then tried to make our custom pages but we faced errors and the callback is not working. My friend : " It says I need to set an Url where I'll be redirected after the Authentication, I guess it uses app linking because in the example there is the package name in the url, the problem is when I call the method "register()" or "login()" I'm directly redirected to the link I set. And the app linking does not seem to work because I got this view on the first screen while I already set the url in the admin panel. I probably missed something or misunderstood a step but I add some screens of my configurations so you se what I did. Thanks you !" Can I have a full walkthough on how we can setup kinde for Flutter with custom sign-up and sign-in pages please ?...
No description