Kinde

K

Kinde

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

Join

Error: State not found

I deployed the application on Vercel and when I try to log in, I have this error and redirection to this site. Before that on my localhost dev server no errors occurred, the application and kinde worked perfectly. Here are the changes I made before deploying to vecel: By the way, here is the vercel deployment link: ...

Billing Access

Hey in our app we’re a SPA in react and using the callback login flow (i think this is ok because no kinde secrets are on the client) We’re trying to integrate stripe to make sure users who pay are only having access Can we get early access so we can move quickly and continue with kinde to reduce complexity?...

Callback URL invalid

I'm trying to implement custom auth pages. In my Python I redirect to the auth endpoint with both the connection_id for email+code auth and the email as email_hinty Even though I have provided a callback url https://localhost:3000" for testing, i then keep getting an error....

getUser returns null when Using Kinde and Vercel Multitenancy

Hi, i am using Vercel's multitenancy architecture. I am able to successfully protect my pages at root (eg app.localhost:3000, app.localhost:3000/account etc). however, when i navigate to my subdomains (eg. demo.localhost:3000, xyz.localhost:3000/account), kinde's getUser from getKindeServerSession returns user null even though the user is logged in which i verified when I go to app.localhost:3000. anyone can point me to where i did wrong and how can i resolve this? thanks ``` const DomainPage = async ({ params }: Props) => { const { domain, slug } = await params;...

How to process an action post sign-up or login

I am looking to save new user details once a usr sign-up to my site. As of now I see there is a way to do that here: https://docs.kinde.com/developer-tools/sdks/frontend/javascript-sdk/#handle-redirect But where am I supposed to put the codebelow? on_redirect_callback: (user, appState) => { console.log({user, appState});...

Custom Auth Page with Python

hello y'all! i would like to use my own custom auth pages as a frontend to kinde. my app is built with the python framework "reflex" and the goal is to trigger the auth-code email via my custom page so that my users only interface with a kinde-hosted page when they confirm the auth code. ...

Hot to get Organisation Names while calling kinde_client.get_user_organizations() in Python SDK?

Hi Kinde Support team, I am trying to get orgID and orgName when calling kinde_client.get_user_organisation() in Python SDK by following the following documentation https://docs.kinde.com/developer-tools/sdks/backend/python-sdk/#organizations. This still gives me org_codes only. ...
No description

Kinde Management API: next_token usage

I am trying to figure out how to use the next_token. Right now, it is always provided regardless if the max page size has been reached. It would be ideal to only return if there is more data, but that doesn't seem to be the case. So, I looking to leverage next_token if the max page size is reached. However, it isn't clear how the next_token is provided with subsequent API calls. Is it part of the body using content_type application/x-www-form-urlencoded?...

Netlify functions, Web Crypto API (crypto.subtle), set AWS_LAMBDA_JS_RUNTIME to nodejs20.x

I am not posting this as a support request, but to help anyone else in the future. I was having the following issue... `TypeError: Cannot read properties of undefined (reading 'subtle')...

Support for Flutter Web

Hi Guys is there anyway that flutter web will be supported in the future ? thanks

Redirecting URL

Hi. I'm trying to implement kinde solution for my admin login. Login works fine as expected but logout is not working as I want. I imported LogoutLink from kinde and when I use it I am redirected to https://myaccount.kinde.com/logged-out. In kinde details I have http://localhost:3000/admin. What I have to change is to be redirected to http://localhost:3000/admin. Regards...

Constantly getting ERR_TOO_MANY_REDIRECTS in production

Hello, when I login or sin up, I constantly get this page with ERR_TOO_MANY_REDIRECTS. I deleted my cookies and tried on different navigators but I do not see the problem. Locally, everyhing is fine.
No description

Astro SDK

When will the Astro SDK be added? I find it difficult to use it with the JavaScript SDK. In my case what I want is that my landing example.com has Astro and then the app domain using Next, app.example.com also use Kinde and are connected, will it be possible when they release the SDK? From the landing it takes you to the auth custom domain and then to the app but if you re-enter the landing authenticated you also see your kinde data or it redirects you to the app if you already have an account, connecting domain with subdomain....

Change default country for phone number input

When setting up 2FA, is there a way to change the default country for phone inputs? It's initialized to AUS which doesn't make sense for my app mainly having US users.
No description

Is it possible to get org code from the response after adding a organization via management api

I am able to successfully add organization via kinde's management api. However, i need to get the org_code to insert into my database via prisma. I looked at the response from calling the https://apps.kinde.com/api/v1/organization api and it just return the status, statusText, body etc but there is no mention of the org_code created. Can someone advise me on this? Thanks

Organizations Usage

What is the use of the organizations? I might be interested in implementing it in my app but I don't know exactly what they are for. Are the users in each one different or what common uses could they have in an app? Greetings.

Profile picture

Isn't there a way to integrate into the Kinde native form that people can upload a profile picture and then receive it in the user.created webhook with a temporary link to a kinde cdn or something like that so we can then save it to our cdn?

ExpressJS SDK working locally, but not hosted, need help with logging

I have run various versions of my kinde-node-express app locally, and authentication and role-based access work fine, allowing me to protect directory paths based on roles. I tried publishing to vercel first, and then tried fly.io, and still not working as it did locally. I have checked (e.g., running "printenv" fly.io console) and all URLs are correct, so it is not that. Currently running on fly.io, all my directory paths are protected from access. Accessing "/login" does send me correctly to kinde.com for login and I get the auth code, which I enter but am then redirected to my "unAuthorisedUrl" rather than being able to access the directory paths as I can locally....

refresh token guide needed

i would like to know how can i refresh the jwt token in client component in nextjs, does it work in server component only?, i mean if some feature or properties are changed then they are reflected in new token right?, so how do i refreshtoken without the need of logout and login, i searched some more docs, and got something related to this on your issues in github, i think this is what i am looking for : https://github.com/kinde-oss/kinde-auth-nextjs/pull/254, but i not able to understand it, ca...

kinde_client.is_authenticated()

Hi Kinde Support Team and Community. I am building an application with Python Flask (Server-Side Rendering) and KindeOAuth. When I use kinde_client.is_authenticated(), it always returns True even an unauthenticated user tries to access the login page and still uses the last person login session/Token access. Is there any way to resolve the issue of gatekeeping my app from unauthenticated people accessing my confidential app?...
No description