Welcome to the Kinde community

Home
Members
IkiTg07
I
IkiTg07
Offline, last seen 3 days ago
Joined September 23, 2024
I've implemented self sign-in / sign-up in my app. The sign-in is working great whether it's via email or social provider. Till today the same could be said about the sign-up but i've tried signin-up with my email, didn't work and ended up on this screen. Tried using social provider, same...

BTW: Quick note the bottom of the page where it says "Motorisé par Kinde" it shouldn't be that because the top is in english and bottom in french. This is not normal
19 comments
D
I
A
Plain Text
import { LogoutLink } from "@kinde-oss/kinde-auth-nextjs/components";

Does the logout component only work inside server components ? I turned my component into client and I've not been able to logout since then
2 comments
I
p
Hello, my friend and I are trying to make use of the new custom sign-in and sign-up in our flutter app. We followed kinde flutter SDK for the setup and then tried to make our custom pages but we faced errors and the callback is not working.

My friend : " It says I need to set an Url where I'll be redirected after the Authentication, I guess it uses app linking because in the example there is the package name in the url, the problem is when I call the method "register()" or "login()" I'm directly redirected to the link I set. And the app linking does not seem to work because I got this view on the first screen while I already set the url in the admin panel. I probably missed something or misunderstood a step but I add some screens of my configurations so you se what I did. Thanks you !"

Can I have a full walkthough on how we can setup kinde for Flutter with custom sign-up and sign-in pages please ?
10 comments
I
O
S
Just want to be able to specify i want only one org per user or multiple
3 comments
A
I
Quick question what is useKindeAuth used for ? It seems to export the same things as useKindeBrowserClient()
3 comments
O
I
Hmmm am I the only one not being able to authenticate ?
7 comments
I
O
I had +300 users and needed to delete all of them at once and it was painful. Had to rely on the management-api. We should have a ui component for that please.
2 comments
O
I
I don't know how I would explain this so just take a look at the screenshots provided. There's a white line crossing the second element of the organizations list when manually adding a user
5 comments
C
I
I have added the management-api-js package to my project and I don't know why but I have that error:
Plain Text
 ⨯ node_modules/@kinde/management-api-js/dist/kinde-management-api-js.cjs (1:25093) @ xt
 ⨯ Internal error: ApiError: Invalid credentials.
    at xt (./node_modules/@kinde/management-api-js/dist/kinde-management-api-js.cjs:1849:18)
    at eval (./node_modules/@kinde/management-api-js/dist/kinde-management-api-js.cjs:1876:17)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
digest: "2794529496"
null

I do have setup my project as told as in the docs so I'm kinda lost
2 comments
I
A
Quick question what is and how does kinde M2M connection work ?
3 comments
A
I
Just a heads up that in the NextJS app router SDK docs, Protect routes using middleware section, if you're in dark mode we can't see well the link refered to after "trying to redirect to".
1 comment
O
Take the screenshot I attached. Picture this, I have a client account that is in the CLIENT org. When i click on "Become a provider" which should sign me up as part of PROVIDER org it adds to my kinde profile that i'm part of both org. I want to disable it and what would be better for me is that if the user already exists in the DB we send to him the verification code as for a login and not for a registration.
16 comments
I
D
R
O
Is there a way to use Kinde Management API to update the user's email ?
I can update the given and family name doing so :
Plain Text
      const client = await createKindeManagementAPIClient();

      client.usersApi.updateUser({
        id: ctx.userId,
        updateUserRequest: {
          familyName: input.family_name,
          givenName: input.given_name,
        },
      });


But i need to be able to update it's email in Kinde as well
22 comments
I
O
A
H
Plain Text
console.log("organization", organization.orgCode);
This is still wrong in nextjs. orgCode always returns undefined

I'm using "@kinde-oss/kinde-auth-nextjs": "^2.2.3",
10 comments
A
I
p
D
Why won't add phone field in here to ? It would be good and I do have a need for that. I'd try to do that on my own but I find implementing custom sign-up with kinde pretty hard as the doc is not that clear IMO
3 comments
I
C
I
IkiTg07
·

fuzzy find

Please add a fuzzy find in the search bar of the user account page in the l’Inde dashboard. I’m tired of typing the entire email each time 😔
4 comments
I
O
Why when we click on "resend code" there's no UI change to indicates that the new code has been sent ? A simple change like muting the button would be enough. It's frustrating not to know if the click was registered or not
1 comment
C
I tried to deploy my application on vercel. I'm using Nextjs version "14.0.4" and Kinde version 2.2.3. What's weird is that when I try to build locally it works.
21 comments
I
D
J
A
S
Hello so i'm on NextJ using the latest version of kinde SDK and i found out that when using useKindeBrowserClient() we could destructure "getUser" function but it throws an error
4 comments
P
p
I
A
I
IkiTg07
·

isLoading

I think I've already seen this somewhere in the discord but it would be super helpful to have a isLoading state when trying to access the user or org with getUser, getOrganization. Something like isLoading when using react query for example.
2 comments
I
O
I would like to have a specific method to invite people. It would be cool that have an invitation flow such as :
user action that sends invitation -> user gets email to confirm is account -> user finish is kinde account creation (family_name, given_name) [that would be optional] -> user is redirected to a page using KINDE_POST_INVITATION_URL
3 comments
I
A
Hello so take that code
Plain Text
"use client";

import { useKindeBrowserClient } from "@kinde-oss/kinde-auth-nextjs";
import { FC } from "react";

type ServicesPageProps = {};

const ServicesPage: FC<ServicesPageProps> = ({}) => {
  const { getOrganization } = useKindeBrowserClient();
  console.log(getOrganization().orgCode);

  return <div>ServicesPage</div>;
};

export default ServicesPage;


This produce this error :
Plain Text
TypeError: Cannot read properties of null (reading 'orgCode')


getOrganization() returns a string not an object but the issue is that when working in vscode getOrganization(). brings intelisense with orgcode
4 comments
I
A
I
IkiTg07
·

Dead link

Hello, in this section of the page "https://kinde.com/docs/developer-tools/using-kinde-without-an-sdk/#connection_id"
"Custom sign-up and sign-in pages" link leads to page not found.
1 comment
D
Does anyone know where this error comes from ?
Plain Text
 ✓ Compiled /api/auth/[kindeAuth] in 272ms (896 modules)
Error: Cannot get user details, no authentication credential found
    at eval (webpack-internal:///(rsc)/./node_modules/@kinde-oss/kinde-typescript-sdk/dist/sdk/clients/server/authorization-code.js:310:35)
    at step (webpack-internal:///(rsc)/./node_modules/@kinde-oss/kinde-typescript-sdk/dist/sdk/clients/server/authorization-code.js:123:23)
    at Object.eval [as next] (webpack-internal:///(rsc)/./node_modules/@kinde-oss/kinde-typescript-sdk/dist/sdk/clients/server/authorization-code.js:64:20)
    at fulfilled (webpack-internal:///(rsc)/./node_modules/@kinde-oss/kinde-typescript-sdk/dist/sdk/clients/server/authorization-code.js:27:32)
7 comments
O
l
G
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
24 comments
O
I