Kinde

K

Kinde

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

Join

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

Single authentication/two applications

Hi, I have a question and I'm hoping someone might be able to help me with. I have two SPA applications, one in React and another in AngularJS. These apps are served from different host/domains e.g. https://app.example.com and https://clients.example.com. From a users perspective they "enter" at https://app.example.com and can move between the "app" and the "clients" applications depending on the menu options they click. As for auth, I would like the user to authenticate when they enter https://app.example.com and they need to be able to move between both apps without needing to re-authenticate. Is this possible with Kinde? ...

kinde callback

I’m unable to set kinde callback…the first is the folder that checks if user is in the database…then next is the dashboard and last this is how i have set up the kinde callbak urls..someone to assist
No description

Nuxt Module org_code is not working

I have multi organizations in kinde. For example their names A and B. When person wants login B and when person use org_code B it doesn't changed. Kinde Auth goes to login A but I want to Kinde auth goes to login B. org_code is not working. How can I work org_code successfully for login B.

Permissions and roles not updating after a change using the Nuxt module

Following https://discord.com/channels/1070212618549219328/1205374262878412810 and https://discord.com/channels/1070212618549219328/1204727161794338849 I've been having a hard time getting up to date data from the nuxt module when using the same methods as in the docs. Here is a composition I've got to handle those operations:...

Post signup event trigger

I need to take a custom post signup action. Before moving to Kinde, we had a custom email/password based signup/authentication process. A new user is suppose to go through a survey before they can opt to signup to our platform. When the user finished the survey, its is saved in a database table and the survey_id was passed to the signup as contextual information (URL param). Upon successful signup, we check the existence of the survey_id and then associate the survey with the user just signed up...

Server Side authentication

Hello, i have a bit problem using kinde i probably just too dumb to understand how kinde work in general. TLDR: how to check the user logged in using authrozation code flow using typescript SDK. ...

JWT Authorization in Python Backend

Hi, I have Kinde connected in my next.js frontend and am sending a bearer_token to my python backend whenever I hit an API. I'm having some trouble authenticating the token though as I'm getting the following error: ``` server-1 | File "/app/app/routers/videos.py", line 56, in create_video server-1 | jwt_authoriation(credentials.credentials) server-1 | File "/app/app/routers/videos.py", line 36, in jwt_authoriation...

Updating a user's name

I would like to have the possibility for a user to change their own name (given_name and family_name). I have figured out that it's possible to update it using the Kinde Management API, and I can verify that the names do get changed. The problem is that after changing the name, the user will not be able to see this change until they logout and login again. Is it possible for a user to change their name and see it reflected immediately without having to logout and login again?...

Verification code via email not arriving

Hello! I'm trying to log in, but I don't receive the verification code via email. Even requesting a resend, the code does not arrive. And it's been a few days 😬...

`prompt`=`registration` not supported?

The Kinde documention states that you can pass prompt =registration to have users land on the sign up page. However, when passing this value you get: ```...

Google auth token

Hello, can I define additional scopes and then access the google auth token to make further requests to the google api?...

auth init!

how can i proceed my login initialisation with just https://accounts.coachbots.com/ url (there shouldn't be psid or any other think). is this possible, if yes let me know the solutions?...
No description

Best way to access the management API from Nuxt server routes?

Hello, I am kinda new to working with Kinde and am planning on using it for my future projects as it has been a very nice experience till now. I was trying to figure out the best way to access the management API from a Nuxt server route. My current use case is to add a role to a user from a stripe subscription webhook....

Discord Auth user object

Hello, I am wondering if there's a way to get either a display name or a first name or something other than 3 that I'm currently seeing. I want to be able to display the user name, but don't want that to be an email. ```json { picture: '', email: '',...

Can't get the user info from const { getUser } = getKindeServerSession();

I must be totally braindead but I'm just trying to get the information about the user in this way. Using next.js. import { getKindeServerSession } from "@kinde-oss/kinde-auth-nextjs/server"; ```...