Kinde

K

Kinde

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

Join

Access to user data

I see that we cannot access the passwords of the users of our platform, why? Even if they are hashed, couldn't you give the option? Since it is our platform and our users. Also, I see that there is no option to change the password of a user to another if we want or send mail to change it, etc, as it has other platforms like Supabase. Could you add that?

Subdomain Authentication

Hello, I am trying to work through a solution where I have a user click the RegisterLink from "@kinde-oss/kinde-auth-nextjs/components" on www.mysite.com, which will authenticate them on www.app.mysite.com. When developing locally I have the following env: KINDE_COOKIE_DOMAIN=.localhost:3000 KINDE_SITE_URL="http://localhost:3000"...

Verifying JWT provided by Kinde with PKCE extension

We are implementing kinde-auth-pkce-js in the front-end of our react application. We are able to login() with Kinde from client side and get hold of the JWT provided by Kinde by using await kindeClient.getToken(). How do we verify the Kinde JWT, on the server, when the JWT is originally obtained client side via pkce? The docs say we need code_verifier, code_challenge and code_challenge_method and we don't know where to obtain these values, server side...

React Native - expo

Hello! Im using Kinde within a React Native- expo project, I already built a NextJS application using Kinde, which works like a charm. When trying to build something similar in react native with the fitting SDK im seeing a issue right away, when using "getUserDetails" im not getting the set username of the logged in user. Ive checked the token-settings but have not found anything regarding enabling it to be within the object recieved from "getUserDetails". ...

How to get `post_login_redirect_url` to work

I’d like to redirect my user back where they were after they log in. For that i found the (undocumented) property post_login_redirect_url which is only mentioned in the Nextjs SDK docs. Unfortunately it did not add the search param to the kinde login URL 😦 Then we’ve got the other thing: how to get that URL back in my /callback endpoint?...
No description

Kinde returning Invalid callback URL, even though the URL is in our allowed list

After logging in, a request is made to Kinde for callback- GET https://<our_kinde_domain>/oauth2/auth?redirect_uri=http%3A%2F%2Flocalhost%3A5173%2F%23%2Fauth%2Fcallback We get redirected to a Kinde error page that states the following """Looks like the allowed callback URLs in your Kinde application don’t include the one below You provided http://localhost:5173/#/auth/callback"""...

Login UX improvement

Hi team, we have users pass this login link instead of our app login. They copy the login link like this: https://YOUR_DOMAIN/auth/cx/_:nav&m:login&psid:01938a8dddc693804af8ef9e88cdbe80 instead of our web login https://YOUR_DOMAIN/login. After one day or two when a user accesses the link with session id again, it will trigger an infinite loading UI issue after putting down email and click continue. The user thought there was something wrong with our web server but actually I think it is the sess...

Error 500 with AuthProvider

Hi, I'm using Next.js 14/app router. When I wrap my app with the AuthProvider, I get a 500 error in the console. Is this expected? By the way, I'm also using withAuth with the Next.js middleware. Do I still need to wrap my app with the AuthProvider? Also, I noticed that most videos about Kinde never mention the AuthProvider component. XHRGET http://localhost:3000/api/auth/setup [HTTP/1.1 500 Internal Server Error 133ms]...

Register / sign up flow: Is it possible to have admin accept pending registrations?

Thanks in advance! I'd like to achieve the following flow - User lands to login page, options Register/Sign up and Login - User signs up - preferably using their socials eg. Github, G suite - By this, user is left waiting approval of their registration - Admin gets notification (via email/other) of awaiting registration...

Dynamic Redirect on SvelteKit Multi-tenant App

Hey! We're building a multi-tenant app so I'm trying to redirect the user to the appropriate custom domain (and/or subdomain) after signing in. For context imagine Substack or beehiiv. I'm trying to sign in the users of our tenants into the tenant's app they launched through us. I tried using the code below to redirect the user to tenant's subdomain. But it's still redirecting me to the KINDE_REDIRECT_URL set in the .env ...

Documentation on Kinde with Retool

What is the best approch to use Kinde with Retool to build dashboards for my customers?

Migrating out of Kinde connection for social auth

If I let users sign up with blank social auth keys (i.e., using Kinde keys for Discord, Google, etc), will I be able to somehow migrate those users out at some point? I imagine they would have to grant permissions again, but can I link their data from before and after?

Discord cancelled auth shows error

Is this intentional? I just clicked "Cancel" when prompted by Discord, posing as a user who clicked the wrong social auth button
No description

Discord OAuth does not provide the user's name

Hello there. I tried using Discord social sign in in Kinde today and I got no name in the user object, all I got is the id, email, and picture. I am using NextJs. How do I fix this? Thank you

MFA token takes long time to receive

Hi team, I wanna raise up a concern for receiving token via email. Sometimes it takes quite a long time (3-5 mins) to get a token. Our team has been experiencing this quite often. We now also receive customers complains in terms of the waiting period. What can be done to improve this?

user schema for database connection with Kinde

Is there a way to find the full user schema from Kinde? I want to integrate this into my Neon database to have relationships between the users and other database tables.

Is there a way to view last signed in on Kinde User dashboard?

Hey was just wondering if their was a way to view last signed in for users on the Kinde dashboard itself or would I have to make my own custom dashboard using the Kinde Management api?
No description

502 Bad Gateway on POST /oauth2/token endpoint

I signed up recently and am trying to setup a non-SDK integration on a Go back-end. The /oauth2/auth request works fine and I am able to login, but when I try to convert the callback code to an access token, I am getting a 502 Bad Gateway. Below is the example request I am making: https://collectivecore.kinde.com/oauth2/token?client_id=<valid_client_id>&client_secret=<valid_client_secret>&grant_type=authorization_code&redirect_uri=http://localhost:3000&code=<valid_code_from_callback> I am not sure what I am doing wrong here....

Typescript jwt payload type?

Hi there, Just trying to implement a webhook and struggling a little with the types returned when verifying the jwt. I think it's the JwtPayload types? Sorry, I'm not too hot on JWTs! Do I need the kinde-typescript-sdk? I could see anything in there that would help, but could've missed it!...
No description