Kinde

K

Kinde

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

Join

redirect from root "/" with middleware in next.js

I want to make a classic stuff, i have a SaaS with a landing page and some routes, a login and after auth here then you are redirect to dashboard... until here everything okay, but i want to make like vercel, is you are authenticate and you go to vercel.com then they redirect you to /dashboard, easy i think... but i cant be able to do that, if i include "/" in the matcher, i am forced to move to login page... and if not include then the function inside middleware is not execute... currently i ha...
No description

Know if an email address is validated in JWT

I'm using .Net with the OIDC integration / middleware. Most everything seems to be working well, except I need to know if the user has verified their email. I noticed while debugging there is a claim that comes back on the JWT, "ext_provider" which has this information, but I only saw it come across with a value once. I also didn't see any documentation on this claim. How do I determine that a user has in fact verified their account?...

What is the best way to let my .NET API know a user has registered ?

I am using .NET as my backend and Angular as my frontend (Typescript SDK). I am aware that webhooks are still in development/beta, is there another way to let my API know when a user has registered currently ?...

Custom Success route.ts failing in build process && not showing logs inside GET()

Refer to the code on the thread while reading this: goal: create copy of user in postgres db after successful signup (1st code below) ...

getting redirected even when not wanted

Problem started when I tried out to connect prisma to kinde. I set up the redirect_url and tested it but got Error: something went wrong with authentication null at GET (webpack-internal:///(rsc)/./src/app/api/auth/kinde_callback/route.ts:21:34) ...

kinde and Cloudflare Workers

Hey guys, planning to use Kinde on a new project and wanted to know if there are any more docs for integrating Kinde with Cloudflare workers. There's a small example in the docs but I really can't gather enough information from that to properly get started. Are there any examples perhaps?

Whether each backend sdk can directly create users

https://kinde.com/docs/developer-tools/ruby-sdk/#create-new-user so i see that ruby ​​can create users in the backend im wondering are there any other backends that can do this?...

Invite users to Kinde (and organization) through the API

Hello at Kinde! I am looking for a way for already existing users (inside Kinde and in a organization) to send an invitation to colleagues to invite them into their organization. I can't find any API documentation on anything long those lines. Am I out of luck here? Thanks!...

How can I implement an API to search user by their emails?

Should I save user detail in my own DB and sync them somehow? Or does kinde support some kind of search api? I am choosing the auth SaaS for my new app. Thanks a lot....

next.config.js Kinde Env Vars

I'm trying to set some of my KINDE environment variables in my next.config.js file in order to support preview deployments. Here's a minimal example: ``` ... env: {...

Testing protected pages in cypress (e2E)

Hello, Is there a way to bypass the authentication process to e2e test pages and flows that are protected ? I'm new to e2e testing and I see everywhere else that there are mechanism to mock the auth or authenticate the user programmatically. Maybe I'm missing something. I'm using The app router SDK....

Server and Client side connection

Hello Kinde Team, I am wondering how I will go about implementing authentication for both client side and server side for full stack. My app is made using React as the frontend and Express as the backend. I successfully implemented the frontend auth using Kinde however I still need to authenticate api calls in the Express backend. ...

Speedrun Competition Clarification

Hello πŸ‘‹, I'm interested in participating in the speedrun competition, but I have a few questions I'd like clarified before I proceed. The rules state: (https://kinde.com/assets/terms/2024_02_12_speedrun_competition_terms_and_conditions.pdf)...

createKindeServerClient

Hi all I am getting this error and I cannot seem to find out why. Is there anyone that has come across this ?

Create organization after login

Hi Kinde, I'm adding your great product to a website of mine, and I'm wondering if it is possible for already signed up users to add multiple organizations without going through the login/signup flow for each of them. I'm using the createOrg method of the react library, but I'm being redirected to the kinde login page. The user is already logged in, so I'm sure it is just something I haven't thought of. If it helps, I have enabled custom login and signup pages so that the users stay on my site. CC: @Mehanika...

Need help integrating with php

Hi, I'm new to auth services, pardon my silly questions. I'm have a php app and I've integrated the kinde sdk. I'm able to collect the access token after successful auth. My question is what should I do from here? My understanding is I need to collect user information(ID and email), save them along with the access token in my database and create a session in my app for the user. 1. Does it makes sense? Am I getting the typical flow right?...

Unhelpful error message, stuck

Not very helpful: Works perfectly for dev env. But fails in prod. How can I debug this?...
No description

Kinde Integration

Hi, I am new here and I would like to integrate Kinde for my app but I am not really sure which docs should I refer for my requirement. I am using Angular for my Frontend as well as Express NodeJS as my backend API.

How to set values to kinde object

Hello, i really need to make some custom signin and signup pages for my application. I'm planning on using the now available " custom signin and signup pages " from here : https://kinde.com/docs/authentication-and-access/custom-authentication-pages/ " The screen where users can choose to create an account if one was not found " This is blocking for me as for my use case I'll have my own form for signin up. How would I set the user's given_name, last_name, profile, id within the kinde user object ? I am using NEXTJS...

redirectTo home with search parameters encodes the ?

Hi, I am passing a redirectTo to app state that contains url search parameters but after login I am redirected to a url with the question mark encoded. I would expect the behaviour to be that I am correctly redirected to a route with search parameters. ```js app_state: { redirectTo: '?foo=bar',...