Kinde

K

Kinde

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

Join

Malformed Response Cookie

Hello, we've been getting a malformed cookie response when certain roles are added a user with multiple organizations assigned. Please see the video reference, I've tried to re-create this in our dev and staging environments but I cannot recreate it Kinde Package is: "@kinde-oss/kinde-auth-nextjs": "^1.8.19" Using pages for next.js and SDK v1 ...

Auth check in +layout.server.ts – known issues?

Hi! 🙌 From working in SvelteKit I've gotten used to avoiding +layout.server.ts for auth checks (reasons illustrated by Svelte connoisseur Hunter Johnston in [1] and [2]), but the Kinde docs uses +layout.server.ts as an example of auth checking [3]. Are there any particular implementation details in Kinde making the issues raised in [1] and [2] null and void? ...

Add audience using Nuxt Module

I looks like this may not be implemented, but I could very well have messed something up at my end. However, when I add an env variable NUXT_KINDE_AUDIENCE I don't see anything in my aud claims. I'm testing using the Kinde Management API, with a slightly modify version of the Nuxt Starter project.

Dark Mode & Multiple Organization Login

Hi! It seems when using Dark Mode & a user has multiple organizations to select from, we cannot customize the text color in the dropdown when picking which organization they want to login to. See attached screenshot. This does not seem to be configurable in the backend dashboard and seems to be some light shade of grey.
No description

Persistent Auth & Custom Domains

hi! I am trying to understand whether Custom Domains are truly the only way to have persistent auth? What I mean by persistent auth, is the user stays logged in even if they refresh the page. In the SDK (https://kinde.com/docs/developer-tools/react-sdk/), it states this is necessary. But when I dig into it, this essentially is having me configure social logins individually and by scratch rather than using the built in social connectors? I feel like this defeats the purpose of the platform and I am trying to understand what options we have. Is this is a planned future iteration to have persistent auth without custom domains?...
No description

custom auth pages

The is a post made after @Daniel_Kinde asked. It is about my question on how is the login method implemented / imported when dealing with a nextjs repo ?

Github connection doesn't pull name in IDToken

Just wanted to know if this was intention or if I messed up the configuation, but the name claim in the ID token is empty when I login with github. Is this intentional?

The specified organization could not be found.

is somebody help me with this 🥲 using kinde for the first time !
No description

Limitations of Discord Auth Integration

Hey :) I am working on a bot dashboard currently and was trying out kinde as a possible auth provider. Setup was incredible easy, but I soon realised, that Kinde has big limitations when it comes to the discord auth provider. I was wondering if its possible to 1. Customize the Permissions that kinde requests of the user...

Wildcards in callback URLs bug

I'm trying to use https://kinde.com/docs/connect-to-kinde/callback-urls/#wildcards-in-callback-urls With a wildcard callback URL configured, login fails with this message in my browser console: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://auth.inrange.dev/oauth2/token. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200....

custom sign in in node.js

How do i send the custom authurlparm to my node.js signin? authUrlParams: { connection_id: "conn_e1d49977648149a2a32fde844f1ff9e5" login_hint: "phone:+61466043123:au"...

Offline Usage of Kinde Auth

Hello, I will have a web app (react or nextjs) and a mobile app (ios and maybe later android). All the apps (mobile and web) will use Kinde auth and Kinde billing (when it released). I plan to have the user sign up on the web app and start a subscription (i dont want to deal with In-App Purchases in the apple app store). Once everything is done (user is signed up and they have an active subscription) I want them to be able to use their mobile app offline. I found this https://kinde.com/docs/authentication-and-access/user-auth-applications/#offline-scopes-and-refresh-tokens but wanted to come here and confirm my desired behavior is possible....

Is there a way for the login/signup happen in a modal rather than a full redirect?

Hello, I've got Kinde up and running on a side project, I was wondering if instead of redirecting I was able to use a modal or a component?

Import error with Kinde TypeScript SDK in Next.js 14 project using PNPM

Hello everyone, I've recently integrated the Kinde auth solution into my Next.js 14 project, utilizing the app directory structure. However, I'm encountering an import error that's proving to be quite a hurdle. The issue arises when I attempt to use the RegisterLink or LoginLink components from the Kinde TypeScript SDK, or when navigating to the login API endpoint directly via http://localhost:3000/api/auth/login?post_login_redirect_url=%2Fdashboard. The error message is as follows:...

Problem with the SvelteKit SDK.

Hi! I tried to integrate Kinde with my exiting Sveltekit 2 project, I have followed the official documentation here https://kinde.com/docs/developer-tools/sveltekit-sdk/ . But everytime I visted the /api/auth/login and /api/auth/register the server returned 500 error and this is what was shown in the server terminal. I have no idea why this error occurred.
No description

Having problems with logout URLs

I have them configured in my settings, but I'm still getting sent to the Kinde logout page. Screenshots:
No description

MFA Endpoints to Change User Preferences

right now the only way to set up MFA is the first time they login after the MFA preferences are saved for my app. Is there a way I can "getMFAStatus()" and "turnOnMFA()" or "turnOffMFA()" and implement these calls in the settings page of my own app?

Redirected to a page displaying null after login

I have recently migrated our startup from using clerkJs to kinde auth. I have integrated all of the parts but there seems to be an issue after login. After successfully logging in a page is shown with the message null. If I retype my website's url the authentication has indeed worked fine. I guess there is a problem with the redirect but I have set up the redirect paths as the docs suggested. What else seems to be the problem?...

How to specify org when creating a user using kinde management api

I want to create two organisations for my app Admins and Users. I want to create users only via api so I disabled auto signup. Now tell me - 1. How can I create a user in the Admins organisation? The default organisation is Users 2. How can I query users by name and email and sort them like I used to do in Auth0....