Kinde

K

Kinde

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

Join

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

Event for when a user signs up for the first time

I'm looking for a function or a way to redirect a user when they sign up for a first time to redirect them to an onboarding page. is there anyway to implement this? the docs are very confusing in relating to even making this possible. i think this is an important feature no?

Add user with phone number

I want to add user with phone and email identity, how to do it? I'm using @kindeoss/kinde-node-express...

Authenitication fails with PKCE=true on SvelteKit

Authentication in my SvelteKit app works fine if I leave PKCE disabled. Once I set KINDE_AUTH_WITH_PKCE=true in the .env file, I get this error once the user logs in:
Error: Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method)....

useKindeBrowserClient shows error

Hello, I am using the useKindeBrowser client to recieve the isAuthenticated property ```tsx...

NextJS Kinde Management API troubles

Hello, I have a nextjs project using the @kinde-oss/kinde-auth-nextjs package and I am having trouble using the management api. I followed the docs by adding the credentials to env file and enabled the management api for the project doing the following: Navigate to Settings → APIs → Kinde Management API → Applications and enable your Next.js app. Then I implemented the following code to retrieve a Kinde user by its id: ```...

Enforce phone MFA for a specific user via API

Hi all, Is it possible to make MFA optional for everyone and enforce it to a specific user via the API? Thank you Ignacio...

Email empty after CSV user import

CSV file with 1 column, in the following format: email, [email protected], ...

Having trouble setting up SAML

I'm trying to follow this guide (https://kinde.com/docs/authentication-and-access/custom-saml/), but encountering a "500 Internal Server Error" after the user is redirected back from the IdP. My IdP in question is Keycloak. Are there any guides specifically for Kinde (SP) + Keycloak (IdP)? Thanks!...