Kinde

K

Kinde

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

Join

Can we send the signin link of our app in an Email from my NextJS app?

Hello! I'm using NextJS with Kinde and I would like to know if it's possible to create a link that could be send in an email so the user can directly access the sign in page...

Can we we use Kinde just for authentication?

This works fine when we use Google for authentication, but when using native Kinde it will check if the user exists... I don't need that, I'll do verification on my end. Preferably: User enters email -> doesn't matter if it exists in Kinde -> user receives an email -> user enters code -> kinde does callback to us -> we verify JWT -> we check if user exists ...
No description

Get current user role

Hello! Im using NextJS 15 with Kinde auth (love it so far) I have been looking through older posts about how to get the current users role, but I have not yet succeeded to find a solution. My goal is to get the role when fetching "getUser" through "getKindeServerSession"....

Entra AD - How can I get AD group information?

How can get the AD groups an Entra login is in?

Can KindeClient be a singleton in TS SDK?

DO I need to create a KindeClient every time I need it? Or can I create it once and reuse it? Is it cheap to create it? Ill be using it for Management API purposes (like create Users and Orgs)

How to Configure 1 org with email + password auth and all other orgs with MFA

Hi there, Currently, my default auth is set to use MFA. Since setting this as the default auth, we are needing to add support for external users (document signing) which will be added to one org named "External". Instead of using MFA for users in the External org, we would like to use email + password. How would I accomplish this? Would we need to use Advanced organization feature for the External org? Thanks!...

Custom SMTP settings using resend not working

Hi I'm trying to setup a custom email sender with resend, using the settings they mention in their docs: https://resend.com/docs/send-with-auth0-smtp However, when I try to send a "test email" the spinner keeps running infinitely, so not receiving an explicit error message either. ...
No description

unable to login using kinde on Android apk preview

Hi All, I am using expo and building an app with Kinde as the login interface, but it doesn't let me login to the application after installing the apk on my android device. Is it something related to the Environment in Kinde ? Am i doing something wrong ? Thanks!...

Management API SDK

Hi All, Just wondering if the function to delete user sessions is available using the JS management API SDK?

Authentication flow: Received: null | Expected: State not found (Next14, Vercel)

I've built V1 of my app, and auth is working fine locally. After deploying to vercel, I am getting the above error when attempting to login. If I navigate to the app again after this happens, it turns out I AM actually logged in, which makes me think it is an issue with redirects. I have confirmed my vercel environment variables match my kinde config...

Hide description in the password page

Other pages is possible to hide description in design setting, but the password page doesn't. Is it possible?
No description

How can I have a distinct login & registration experience without custom UIs?

This support post is in relation to https://discord.com/channels/1070212618549219328/1308179325752705145 as to not confuse or deviate from what the OP of that thread was after. Currently for registrations I am using Kinde's out of the box registration experience with a twist. I basically ask a few questions, store the answers, and then kick off Kinde's out of the box registration workflow. Once registration is completed I resume the process with follow-up questions before completing my applications setup which includes storing details (including correlating the Kinde data with my data) and setting up the organisation using Kinde's Management API. (I don't want to just auto create orgs) This is great because by using Kinde's out of the box workflow I don't need to write code to log in or register. But I can still have custom activities before and after the Kinde part of the process....

undefined access_token when using session manager with typescript SDK

Hi all! I'm having trouble calling my API in a NextJS Hono server monorepo. I'm wanting to call an API and check for auth but eaverytime I do my server throws a 500 as the access_token from Kinde is undefined in the session manager. Here is my session manager code: ``` export const sessionManager = (c: Context): SessionManager => ({...

Invalid Token Error

In my next.js application i am using next server actions for my api routes protected my kinde. I have mainly 4 routes get, get/id, edit and delete. All the routes work fine except the edit one where it gives me this error: ``` getUser Error [InvalidTokenError] at eval (webpack-internal:///(rsc)/./node_modules/jwt-decode/build/jwt-decode.esm.js:6:1134) at (rsc)/./node_modules/jwt-decode/build/jwt-decode.esm.js (C:\Users\harka\OneDrive\Documents\coding\paperless.next\server\vendor-chunks\jwt-decode.js:40:1)...

Prohibit people from registering

How do I make it so that people can't register, don't get “don't have an account? register” and can't do any kind of registration? Only login

How to Configure 1 org with magic link auth and all other orgs with MFA

Hi there, Currently, my default auth is set to use MFA. Since setting this as the default auth, we are needing to add support for external users (document signing) which will be added to one org named "External". Instead of using MFA for users in the External org, we would like to use magic links. How would I accomplish this. Thanks!...

Custom username field

I want the username field to be labeled as "CNPJ" (National Register of Legal Entities in Brazil). Is it possible to rename the field and enforce a validation pattern?

Autocreate orgs by email domain?

When a new user signs up using their work email, can I autoassign them to an org identified by their email's domain name?

Entra SSO

Hello I'm setting up my first Enterprise connection and I am running into some errors, I was wondering if I could get some help. I get to the login stage and select my MS user and auth but after that I get something went wrong error.