Kinde

K

Kinde

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

Join

Custom Sign In | React ref for LoginLink || login() function in NextJS SDK

When using a custom login flow i want to be able to handle the on enter event of the email input field for example to start the auth flow and click the Login Button I thought I could just use a react ref on the LoginLink component but it does not allow refs in the props (See Image) The documentation on custom auth has a login()function one could use on a button or smthing like that...
No description

Redirect user if their account doesn't exist

Hi, if the user doesn't exist then it brings me to the screenshoted screen, but what if I want to redirect them to another page if their account doens't exist instead of allowing them to just create an account?
No description

Protect all routes except some public ones

Is there any workaround for this, I want to protect all routes but exclude the main '/', i am using layout for route protection but it is making all my pages dynamically rendered, i want them to be static, I tried regex but it didn't work, i could protect every route but couldn't add excluded routes.
No description

"Invalid request error" post login. Http vs. https.

Hi, I've successfully been developing on localhost and have just tried to deploy to Vercel with this error:- {"error":"Authentication flow: Received: b874193af6978e5ad6a828eb3a1d | Expected: State not found"} URL is stuck on this:- [https://morezero.vercel.app/api/auth/kinde_callback?code=wQC-A].... Obvioulsy I'm missing something in configuration but haven't been able to find it. I've verified my urls. Please help. ...

Error while adding user in organization

I'm using kinde-node-express sdk, and while using the below endpoint for adding the user to an existing organization it gives a ROUTE_NOT_FOUND error. org_code and user_id are placeholders....
No description

Problems getting a new refreshToken

Good evening! I’m facing an issue with refreshToken generation. When I request a new token based on the refreshToken, I receive a valid new token, but the refreshToken returned is the same one I used in the request. Over time, this refreshToken becomes invalid. I’m performing the refresh for a client via M2M. Does anyone know if this behavior is expected or if it might be an issue with Kinde after the latest update?...

Email custom sender gmail smtp

I am trying to configure a custom sender to work with my google workspace gmail. I have tried both smtp-relay.gmail.com and smtp.gmail.com. I have configured SMTP relay service in my google admin settings. I'm using port 587 for TLS. I am getting error 421 for smtp-relay.gmail.com and error 534 for smtp.gmail.com. I'm not sure what these errors mean. What could I be missing here?...

Is it possible to set a profile picture through the API

Is it possible to set profile picture through the API?

[help] custom sign-up and sign-in pages

Hey folks. I am currently implementing passwordless sign-up and sign-in with custom screens. Using Forms. I have an issue: - When users are on the sign-in page, insert their email on the input field and submit the form, if the email is unknown to Kinde the user is redirect to Kinde's sign-in page (the one that can be customized through the Kinde website which I do not want to render). Ideally, I would like to show an error on the Form or even better redirect the user to the sign-up page (the one that exists within the source code project). How can this be achieved?...

I want to get the information of the user who successfully registered

I could not see how to do it in the documentation.

Can't remove team members

As the title says, the team member page only have add. I can't see anyway to remove a person. thanks...

Need advice on multi-tenant design

My NextJs webapp facilitates companies developing apps and making them accessible via plans and subscriptions. Using an example, company A develops App1 and App2, accessible on app1.companyA .com and app2.companyA.com respectively.
Company B subscribes to a 5-user license for the use of App1 from company A (assuming via a product plan). Up to 5 users (employees) of Company B can create user accounts for App1 from Company A and access it. Company C subscribes to a 10-user license plan for App2, allowing up to 10 users (employees) from company C to use App2. Company C also offers its own app, App3, which is subscribed to by Company A. I’m assuming using features for app access and org_codes for separation of users by company will be part of the solution (also to leverage the upcoming plans/subscription functionality). However, I don’t know how to put it together, specifically, what is offered out of the box, and how to best implement what is not, utilizing Kinde framework. Please help. ...

Post logout url in NextjsSDK not redirecting

We are trying to achieve a post loggout redirect but cant make it work despite correctly setting envs. We are trying to achieve the redirect using LogoutLink component from the sdk

Is it possible to export user data along with number of sign ins (total)

I'm looking for a way to identify returning users provided the rest of my analytics is.. not ideal.

[Bypass] Custom sign-up and sign-in pages

I’m trying to implement the bypass according to the documentation: https://docs.kinde.com/authenticate/custom-configurations/custom-authentication-pages/#custom-sign-in-for-social-authentication Image 1 shows my custom login page. I want the "Continue with Google" button to redirect me directly to Google. However, it first redirects me to the Kinde (Image 2) view and then to Google. ...
No description

Offline Development

Hi, is there a recommended way of working with kinde when offline? Currently evaluating kinde for a project but everything I can find at the moment requires connecting to kinde servers unline some of the alternatives. How are folks developing locally and offline?

[authentication] custom sign up using react

Hey folks. I was following along this page https://docs.kinde.com/authenticate/custom-configurations/custom-authentication-pages/ because I am trying to add a custom sign-up and sign-in screens. However, I do not quite understand the steps to call sign-in login function with user email and password, and I also do not understand or see how registration can be done with a custom sign-up screen. In short, I want to have my own sign-up/sign-in forms in react, to ensure the form experience and error handling is the same across the entire application....

Custom Properties

I've added a custom property AND included it in the applications token(s). I then added the data to the user and console logged the user. The Kinde created property shows in the user object but not the custom one. Any thoughts? Also if it did show how do I access it in Client and Server components? The properties seem hardcoded in Typescript.

Can I implement SSO using Kinde on multiple WordPress websites and services using SAML and/or OAuth?

Hi, I'm evaluating Kinde to see if it will fit our requirements of implementing an SSO for WordPress websites and some third party services (like newsletter, support system etc. which supports a SAML based login). We have a set of WordPress based websites (separate/different domains), where each user (i.e. the client) have a unique login, and then there a set of third-party services (like newsletter, support system etc.) that these clients will also have access to. At this moment, the users need to maintain separate login credentials to access all the services (i.e. WordPress website, newsletter, support system)....
No description