Kinde

K

Kinde

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

Join

Authentication issue after login. Node Express SDK.

Hi, I am trying to get integration with my express/node server up and running, I can login, and get redirected, but using the quick start code from the experess SDK app.get("/", (req, res) => {     if (req.session && req.session.kindeAccessToken) {         res.send("You are authenticated!");...

kinde-flutter configuration problems

Hello everyone! I'm very happy to get started with Kinde and Flutter. I recently started studying Flutter and discovered Kinde to get rid of the headache of "maintenance" of users. I wanted to ask if there is any guide or examples for Flutter? It has been difficult for me to understand and integrate. Also, I can't find a way to configure the callback correctly. (the Kinde page appears but with an error saying 'invalid callback url'). I use flutter_dotenv and go_router....

Kinde with React Js

hey there i was wondering if it possible to handle authentication and authorization on react JS front-end and using express. son my back end will be storing the credentials in my database not on kinde cloud

kinde-flutter-sdk invalid session on every login attempt.

Hello! I have been trying to get the kinde flutter sdk to work, however for some reason after successfully logging in with the following code: ``` try { final sdk = KindeFlutterSDK.instance; ...

NextJS App Router v2 getAccessToken() and getToken()

Hello again! Loving Kinde (and can't wait for custom favicons....), but I've ran into a little bit of a desync between either my implementation or the kinde documentation. I have a backend that I want to send the user's JWT to. I figured I would use the serverside method getAccessToken(), but it 1) returns null on a logged in user (profile pic, name, email from getUser() went fine, and 2) even if I got the KindeAccessToken there are no methods to convert it to a JWT (althought the documentation suggests getAccessToken() -> Promise<string>....

Change my instance region

Due to an onboarding error my Kinde instance is in Australia, and that adds significant ping. Is it possible to change my instance server? Quick glance at the settings panel wasn't clear to me if it is possible.

Resolving auth in back-end (.NET) with token retrieved from front-end (React)

Hello, i have finished a setup in react, but i need to use the token to authenticate and authorize the user in the back-end. AFAIK there are no documents on Kinde elaborating on this issue, would anyone be able to support? In .NET authentication is added: ```cs...

What's the protocol for transfering ownership of the account?

I would like to transfer ownership of the account that runs on production for some time to a client as a part of handoff process. I couldn't find any obvious way in the dashboard or in docs. Cheers...

BrowserClient.getUser returns Promise<string>

Hi, I'm using kinde-typescript-sdk 2.3.2. It was really easy to integrate Kinde, registration and login are working, but when I call browserclient.getUser it seems to return a Promise<string> instead of Promise<UserType>. I kind of hacked around it but it's not pretty 🙂 browserClient was created by createKindeBrowserClient()
No description

Token being sent

Im using react trying to get a token to send to my express backend...getToken is not working... any ideas? (I am willing to pay someone to make a video showing a todo application between react/express/mongo and incoperating Kinde, lmk if anyone would be interested)...
No description

Allow user to delete their account (nextjs)

Good afternoon everyone! I am using Kinde in my nextjs app to handle user authentication; I am wondering if there is a way for their account to be deleted on Kinde when they click on the "delete my account" button in my app? The desired behaviour is what when they click on the button, their account is deleted and then they are redirected to the landing page. The login link and register link are so simple to integrate so i was wondering if there is someething similar for allowing a user to delete...

help with Google Auth concent screen.

using kinde.com as a auth provider can we change the consent screen "continue to 'kinde.com'" to "continue to 'mydomain.com"
No description

Create Company during Register

Hello, is it possible to add a field on the register form to create a company?

Help Needed: Authentication strategy for authenticating access to a backend express API from NextJs

Currently we are doing this in a very scuffed way by copying the authentication token from the kinde-token cookie to another cookie that is accessible via any of our subdomains. Does anyone have any suggestions on how we can make this work in a less scuffed way? We are also having issues with tokens refreshing. I am finding a lot of JWT expired errors while devving and am required to re-sign in rather than the token automatically refreshing after x minutes....
No description

Next.js 14.0.3 Middleware TypeError

Subject: Assistance Needed with TypeScript Error in Kind Auth Implementation Hey there! 👋 I hope this message finds you well. I'm currently using Kind Auth for the first time, and I've encountered a TypeScript error while trying to access a protected route....

Are you required to be authenticated to be able to check feature flags?

Trying out the feature flag functionality. While I'm not logged in/authenticated - the flags always return the defaultValue set. I recall mentioning that the flag values are bundled into the JWT or token? So is feature flagging only applicable to authenticated users & not more generally for flagging public pages?...

Password and Passwordless enabled on same time?

How can i chose a user thats uses password when passwordless is also enabled?

Clicking login takes me to API route and not login page (Next 14)

Trying to get up and running with Next14 and App Router. I've got env setup and the following in src/app/api/auth/[kindeauth]/route.ts ```...

Problem when trying to edit role when limit plan is reached

Hi! I have an issue with the web admin panel. I have created a second role, so the account limit is already reached (2 roles with free tier). The problem is that, when I have reached this limit, I cannot save changes for either of these 2 roles. So, if I want to add or remove a permission for some role, the change will not be reflected.
No description

Trouble handling callback from SSO always returns 400

I'm a bit stuck in this section https://kinde.com/docs/developer-tools/using-kinde-without-an-sdk/#handling-the-callback in the documentation. When I send the POST request to oauth2/token from Postman, I get a 400 status code everytime. I am also using PKCE verification. I use this https://tonyxu-io.github.io/pkce-generator/ to generate the code challenge and my code verifier is code_verifier....