Kinde

K

Kinde

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

Join

Requested audience X has not been whitelisted by the OAuth 2.0 Client

I invested 4 hours of work trying to use the Kinde Management API without success. I tried to use @kinde/management-api-js, @kinde-oss/kinde-auth-nextjs/server and direct requests, but i'm still receiving credentials errors. My problem is happening when trying to do the request to fetch the access token, because i'm receiving this error bellow even after setup the managament api on the Kinde console. ...

Choosing a MFA method only works the first time for each user

Choosing an MFA method only works the first time for each user. Once I reset the MFA for a given user, the user gets stuck on the MFA choices list without any redirection (using the Next.js app router).

Cookie size hit when adding several permissions

I noticed permissions are available in the access_token cookie. However, this seems to break the app once we reach the max cookie size 4kb. For example if I create an app and add over 50 permissions this seems to quickly hit the limit and cause the entire app to crash. Is there a better solution to dealing with large set of permissions?

How to detect if a token has expired with the Client JS SDK?

Hi all, Just wondering how to detect if a token has expired on the front-end so I can refresh it? When the token expires I can no longer use KindeClient.getIdToken so I can't check on the token itself?...

Kinde SDK offline PWA

Is there a web sdk y’all offer that would be best for an offline first PWA?

Android Demo App

trying to test out the android demo app, but the login and register pages gets stuck loading on the continue with google button

Email verification is required for every Twitter login

Why do I need email verification every time I use Twitter login? I understand that the first time I used Twitter login, I linked an email, and after that, I don't need email verification for the same Twitter login.

How to refresh tokens in a Next.js client component?

Hi there, I've been trying to work out a solution to an issue with my auth flow for a while and thought I had it but having more issues. I'm using tRPC in a Next.js full stack app and have updated my user's permissions via the Kinde API. Now I'm trying to get those updated permissions to take effect in my app, without logging out and logging in again. They're definitely working in the Kinde UI. The component I want to see them updated in is a client component....

GET /api/auth/setup 401

Hi, I've set up a new App in my Kinde, followed all the steps, added callback URL and I'm getting the 401 on this endpoint. What am I doing wrong? Currently just testing everything on localhost.

Failed to construct 'URL': Invalid URL at isCustomDomain

Started getting this in production this morning, any advise on trouble shooting? Seems to be coming from isCustomDomain function.

`getPermissions()` not returning latest data

Hi! I have a user with a role and a permission that is included as part of that role. however, when I do getPermissions() in the React Native SDK, it's returning an empty list of permissions - when I check for that specific permission with getPermission() it says isGranted: false However, in the Kinde UI, the user has that role (and thus the perms under that role) Is there anything I am missing? Thank you!...

is it possible to use session manager (typescript sdk) with client side only cookie?

I am using cloudrun for my app and I don’t want to use a redis server or database to hold session. Will the client only cookie for authentication work? :

Details Update Propagation takes too much time

Hello, I've noticed an issue, when I update an organisation (org name), and right after I do a fetch, the endpoint (management api) returns the old name, but when I call it after 1-2 seconds it returns the correct name. Is this latency common with all the APIs?...

Building Google non-Drive apps using Kinde

i am looking at the docs and scratching my head.... is there a way to use Google Access Tokens from Kinde users for other API stuff, like GMail? Or are only the integrations in Connected Apps supported right now? It would be great to be able to get a google api auth token from my kinde api to interact with Google and other backend services like Notion or Airtable....

TypeError: Cannot read properties of undefined (reading 'redirectURLBase')

Getting this error after installing the latest version of "@kinde-oss/kinde-auth-nextjs". Terminal saying: Error [ERR_HTTP_HEADERS_SENT]: Cannot append headers after they are sent to the client Any ideas?...

How to get the token in Nuxt?

In the JS SDK docs I can see const token = await kinde.getToken(); However I don't see this example in the Nuxt documentation, how can I get the token in Nuxt, to call my backend API? (node)...

how to do kinde's website example

How can I do that modal when clicking a signup button in the landing page?
No description

Secure Spring Boot App - M2M Tokens

How to add Authorization to My Spring Boot Application (Gateway Server) - For 3rd party services (i want to restrict access to certain API endpoints) i tried to use the M2M tokens but i getting 403 error on my API because scopes not sent (i tried to issue a client creds token with scopes but with no success * i added aud as my domain ) i did it without SDK just with Security config `httpSecurity.authorizeExchange(exchanges ->...

how to request tokens using curl?

what i want: - retrieve token as authenticated test user in Kinde and make call to rest api using curl curl http://myapi.com/api -H 'authorization: Bearer {accessToken}' what i've done:...