Kinde

K

Kinde

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

Join

jwtVerify from node express needs an audience

I am trying to set up an express server that can verify my token. This is my current code: ``` const express = require("express"); const { jwtVerify } = require("@kinde-oss/kinde-node-express");...

Kinde, Supabase, and React Native

Hi, I have a full NextJS app which is using supabase and kinde. I did something hacky where I never enabled RLS on the tables, but instead I checked the logged in user on every server action to make sure the user was correct and had the right permissions. Not the best approach but it worked. I am now working on making my nextJS application into a React Native app. However, seems like the hacky thing I was doing is probably not the best way forward. I'm exploring the docs but it doenst seem straightforward on integrating React Native, Kinde and Supabase. Is the main way to get around this via the JWT token? Can't find any other solutions....

Playwright based authentication errors - in vercel preview environment

I'm getting this error {"error":"Authentication flow: State mismatch. Received: be9fa006355ccac6bd395933c3fe | Expected: 987605400499fff4b597efc2e1b3"} at https://....hj-flowt.vercel.app/api/auth/kinde_callback?code=of.......

Adding API scope to a role via Kinde Management API

I can add API scopes to a role via the web UI, but I don't see an endpoint for that in the Kinde Management API. Is there one?

Give administrator access to all orgs

Hi all, Is there a way to give certain accounts access to ALL organisations, both existing and any newly created? Due to the nature of the app I'm writing, there will be a class of "Administrators" that should have access to all organisations within the app. Is this possible to set up without calling the management API every time an org is created?...

Adding an existing Kinde user to a new organisation

Hi, Thanks for a wonderful product. This is more of a generic question that I'm unable to find an answer to. I'm currently building a B2B2C SaaS application and the business admins can add users(clients) to their business so that they can login to the business dashboard. What I have noticed is that if a user already exists in Kinde, and I want to try to add a user from the organization, I get a "Email already in use" error. (Example a user is already a client with one business and is becoming a client in another business). ...

My application is unable to login my users. I need to solve this ASAP

My application that was working normally stopping working when performing the login

<appname> Wants to Use "kinde.com" to Sign In popup in ios expo

When redirecting from the expo app to the authorization flow, opening the in-app browser triggers the popup on ios. Is there any way to pre-authorize or avoid this popup on ios? Is there any way to change "kinde.com" in this dialog?...

Custom sign in page content applying inconsistently

New kinde user here. I've set up a local sveltekit app and installed the sveltekit sdk. The actual auth is working fine, however I just can't seem to get the custom page content labels to apply consistently across browsers. In the firefox screenshot you can see my custom labels ("custom heading", "custom description", Email lbl" and "Continue btn"). In the Edge screenshot they appear to be system assigned labels. The reason I'm using Edge? I downloaded and installed it purely to try a completely fresh browser, in case there was some weird caching going on in chrome. In addition the text in edge appears to be for the "Email + code " flow, whereas I'm using the "email + password" flow. In both browsers, entering a valid email correctly leads to a page prompting for the password. I've also included a screenshot from the admin dashboard shoing my custom labels....
No description

Access Token claims not updating after "Refresh User Claims and Invalidate Cache"

Hi, I'm currently building a custom user onboarding flow with a multistep form and calling one of my API path. Within my application settings under Tokens, I have customized the access token with additional claims including Organization Name. Within this path, below are the high level actions being performed: 1. Invoke the API path with the Access token (Bearer token) 2. Validate the token using Kinde JWK ...

Feature flags not showing in created Organization

Hi, I'm testing creating an Organization using the Kinde Management API. In the JSON body of the request, I'm adding a feature flag that I want to associate with the created Organization.: My JSON request body looks like:...
No description

Error verifying JWTs signed by Kinde from Next.js to Express API

According to docs I import the verifier: const {jwtVerify} = require("@kinde-oss/kinde-node-express"); const verifier = jwtVerify("https://<your_kinde_subdomain>.kinde.com");...

502 badgateway on m2m token endpoint

When I try to POST with postman to the token endpoint https://business.kinde.com/oauth2/token I get a 502 badgateway It doesn't matter whether I try the correct client_id or just random chars....

Error code: 1656 - Unable to log into integration environment since 6:03am GMT

Hey, We've been seeing this error when attempting to log into our integration environment and this is becoming a serious blocker. We haven't made changes over the weekend and it's effecting two different UI applications. Error:...

Custom param missing from callback using authUrlParams in Kinde Next.js

Hi! I’m using @kinde-oss/kinde-auth-nextjs in Next.js and trying to pass a custom invite param. Here’s my file structure and setup: ENV: KINDE_POST_LOGIN_REDIRECT_URL=http://localhost:3000/api/auth/callback Login code (page.tsx): src/app/login/page.tsx...

I’ve been getting 504 Gateway Timeout errors today.

I’ve been getting 504 Gateway Timeout errors today,

Kinde Error:

Something went wrong when we tried to authenticate you, and we can’t offer a quick way out. Start a new session and try signing in again. Error code: 1656 Code reference: import { createFileRoute, Outlet } from "@tanstack/react-router";...

@kinde-oss/kinde-auth-react compatibility with React 19

Hi, We are currently in the process of implementing Kinde with our React SPA. When trying to install Kinde, we have encountered an error due to Kinde peer dependency with React npm error peer react@"^17.0.2 || ^18" from @kinde-oss/[email protected] Wanted to check if the package would be updated to support React 19 and in the mean time, is it safe to force install ?...

Gateway timeout for Management API

Management API calls are timing out.