Kinde

K

Kinde

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

Join

nextjs

hi, kinde redirects to profile page (https://*****.kinde.com/logged-out) upon signing out instead of the url specified in the post logout env variable, wondering if you can shed some light on the issue?
No description

How can i add test-user to production env if i use email + code

I would like to create a test-user for facebook to check my website and i have to provide username(email) and password for them however I use email + code in Kinde and my website is already used by users.

Custom domain on localhost

Hey everyone, can someone explain to me how I can test kinde auth with custom domain on localhost (I'm using nextJS) ?

ExpressJS Backend receiving API requests with bearer tokens

I am trying to create a backend API using expressJS that is authenticated via Kinde. I have tried both the express quick start and nodejs quick start. The nodejs quick start seems to provide more of what I think I need, partially because the expressjs quick start hangs and fails to server any pages when adding to an existing product. Where in the middleware for isAuthenticated should it be checking for the bearer token and validating it? I can't seem to find an example of that anywhere. For testing, why doesn't expressJS allow re-authentication with the cookie saved after login? When the express server restarts I have to login again despite having a redis session store with express-ession...

Email undefined for apple id registration on dashboard page

When a user registers and is redirected to the dashboard page after signing up I am using the following code to get the user information. import {getKindeServerSession} from "@kinde-oss/kinde-auth-nextjs/server"; export default async function Dashboard() {...

Redirection without <RegisterLink>

Hi! I have a form submission which triggers a transactional email on my server as part of my onboarding process. How do I integrate a redirect to the Register page as part of my flow? Ideally, I'm trying to get the user to just click once ie form submission and then it gets pushed to the custom domain url for the registration process to begin. Thanks in advance.

next.js server => api

Hi, I’m working on a smaller project with some friends for planning our board game events. I’m in the middle of doing some auth when connecting my next.js server component with my next.js api, and I’m unable to use getKindeServerSession to get a valid session? ...

add-urls-to-kinde script

After creating a M2M application and setting the client_id and client_secret for my nextjs app. It seems that I can't get the addCallBackUrlToKinde function to work. I also added the scopes authorization related to application_redirect_uris to m2m application: Thank you for your help !...

MFA option not showing

I have made MFA optional for users. When they first sign up, they are given the option to connect authenticator app or decline to opt in. But if decline initially but they want to enable later on, for some reason the option is not showing when signing back in but when I go to Multi-factor auth settings for a user, it says I can prompt them on next sign in to enable it. But haven't seen much documentation on it, what can I do to approach this?

Token validation Azure prod

Hi, iam new @ programming. I have an application python backend en react vite frontend. Everything works fine locally. And also the api calls front end backend containers work. But when is fetch users it gets an 403 on Azure. I went to all the code etc etc. Bur i cant find it . I have a free account because of dev. But do i have ro do something on the Kinde side to get it to work on azure. I have all the url and logging in works. Kr Jos

Intro and questions of a new discord member

Hey guys! We started using Clerk earlier this year because we thought if Stripe invests in them they'll have billing integrated soon. Also Clerk is part of the data privacy framework, which makes it very GDPR compliant for the use in Europe. Furthermore, there's a wrapper of the react library of clerk for reflex, the python webframework I'm using. ...

how to set provided_id when creating user via management API?

I tried the following with no luck: ```python response = api.post(f"/user", json={ "profile": { "given_name": user.first_name,...

React Native @kinde/expo in the browser

Greetings, I'm a front-end dev from Melbourne, Australia and I'm currently working on a new React Native build which I'm hoping to use Kinde for authentication. I've done some searching through the discord for past support requests and have started using the @kinde/expo package. I've been able to integrate things for an iOS build according to the docs and hook up the provider and the useKindeAuth() hook, but I'm getting an error when I try to view the RN build on the web. ``` Static Rendering Error (Node.js) window is not defined...

Do Roles or Permissions update immediately in user session?

I am wanting to restrict access to certain NextJS routes and pages to users with either a role or permission but on update (only tested with roles), the role remain the same. My use-case is, I want to allow admins to edit members roles and user data but after updating the user, their data server or client side does not reflect the updated role. How would you recommend handling this? Thanks...

Haven’t been able to use Kinde on my node project . I have tried locally and on prod with Heroku

My issue is I can’t get to the kinde with screen , the login process is always skipped and goes directly to my index.html . This is my first time setting up auth , I tried with google auth directly and couldn’t make it work , I had the same issue and hoping kinde would be more straightforward . I develop heavily with chat gpt and Claude and haven’t been able to figure it out...

Issue: State not found error with express-session and Slack auth

Hi, I'm using the @kinde-oss/kinde-typescript-sdk package for authentication with Slack in my Node.js app (using Express and MongoDB for session storage). Everything was working fine until I changed the cookie.domain in my express-session configuration from xyz.example.com to .example.com. After this change, I started encountering the following error during authentication: Authentication flow: Received: 123456** | Expected: State not found...

Machine Api Access Token granted once but not again

I am using NextJS, and I make a request like this below `` const token = await fetch(https://app.kinde.com/oauth2/token`, { method: "POST",...

Check if the user already exists in Kinde

Hey, is there a way to check if a user (by email) is already registered with Kinde? I’m looking to migrate from Auth0 to Kinde and need to determine if the user already exists in Kinde so that I can direct them to the appropriate login page.

Unable to visit /admin/*

i have a nextjs app that has an admin page with sub pages like /admin/upload /admin/store etc, it all works in localhost, but in prod i get this behaviour, where clicking on the pages, or navigating via the url sends you back to /admin/ any ideas on what it is? im using app router and protecting with matcher: ["/admin/:path*"] in middleware

getUserOrganizations returning null

I have a user which is part of two organization, but when i call getUserOrganizations it returns null