Kinde

K

Kinde

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

Join

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....

JwtInvalidIssuerError: Missing Issuer. Expected:

I am using the jwtVerify function and I am getting the error in the title. I am passing in the following things, which are definitely not null: issuerBaseUrl in the first parameter, and then in the second parameter I pass an option that looks like this:...

create user account fails

hi all, should i be able to do a fetch in node for create user, i'm using the example in docs, but i just get { "code": "INVALID_REQUEST", "message": "Error processing request body" } ...

Billing is integration with Stripe?

I just made an account with Kinde and saw the billing page. I am curious if this means you guys are integrating with Stripe? I'm building an app that is simple and just needs auth (Kinde) and subscriptions (Stripe). It would be amazing if I can get all that i need from you guys.

can i control the number of sessions using kinde auth

I want to make sure that only one person stays logged in. If someone logs into a new device, the older one must be logged out.

Sveltekit starter return errorCode: ''INVALID_TOKEN_MEMORY_COMIT"

Hi, i'm just new on Kinde and i create sveltkit project using Kinde starter kit. When i've signed up using Kinde in my sveltekit app, it return this `KindeSDKError: Attempting to commit invalid access_token token "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOltdLCJpYXQiOjE3MDYxODIwNTIsImp0aSI6ImE3NzU0YjJiLTc2ZDEtNDQ4Ni04NDM3LTA5YmMyMDU1NzY5MCIsInNjcCI6WyJvcGVuaWQiLCJwcm9maWxlIiwiZW1haWwiLCJvZmZsaW5lIl19.nZY_8Om4_zbRCuZzVp_gi_MGGttveQB42iHhh31wmWUZ0Xq8eIzQtW37mBjGrfzDALqDgNblsbBvovMBxw2dSLa91J0Z5DXaDgJtNChkXGF8NbfJ8G-ezRu-f6NEOs8onmwv9T016-l9ydNbB0nhNGP-jI_QmStXadqxz29W-jK5pyDFv0OYmXM0X0DIel_JqjRSSkn2MImC22KYrqCO3SlC7LqwAjKpf0pBFCv0u_TAET0Sdb4FBtOi2aA5L8MHqzUjFgdS0QXOSlMYXTVUaiMz6hp1mfyTOpI1usxN5oGlzKicyQ-Ov9sHRlM38dH2ye8t11ZsIY7ZHk6kN04COQ" to memory at new KindeSDKError (file:///D:/Projects/sveltekit/sveltekit-starter-kit-main/node_modules/@kinde-oss/kinde-typescript-sdk/dist/sdk/exceptions.js:24:28)...

Is it possible to merge username & password fields into one page?

Hi Kinde Team, is it possible to merge username and password fields into one page? My client don't want it because of too many clicks/steps. Just for context, I use connect Kinde via backend (NodeJS with SolidStart). And we don't use password-less. What is the possible way to achieve this? By subscribing to Pro plan? Or by utilizing the API? Or both?...

i want to make a api call with userId after a new user is registered how do I do that using nextjs

I have next year 13 application with app directory. Now I want to make an API call whenever new user is registered through Kinde Auth also I want to send the newly registered users information to that API

[NextJS 14] User session returns null in API route, when user is already authenticated from caller

Trying to understand what I'm doing wrong here: I have a component that calls an api route on a button click, this component doesn't render unless the user is authenticated. I'm using the standard { getUser } = getKindeServerSession() and user = await getUser() methods to verify this. However, when I call the api route from the button click, these same methods seem to return null for me in the API route handler, the code I have so far is pretty simple: export const POST = async (req: NextRequest) => {...