Welcome to the Kinde community

Hey guys, I'm checking isAuthenticated and return login page in my react app as documents suggested. But isAuthenticated is false and login page is showed every time I reload pages. How should I fix this?

Hi

I'm trying to setup a custom email sender with resend, using the settings they mention in their docs: https://resend.com/docs/send-with-auth0-smtp

However, when I try to send a "test email" the spinner keeps running infinitely, so not receiving an explicit error message either.

How could I further debug this issue?
2 comments
Y

Hey guys, can someone review a pull request for the Ruby SDK for me? Could you also create a tag for a stable version of the project? This will help us reference a specific version in our Gemfile.

2 comments
J
D

Hey guys,
We were working with a case where we are sending the email with login_hint and connectionid for a custom (kinda) signin page. But even though my current application doesn’t have user login, it looks like kinda has (maybe in another application) or some kind of user cache.

The issue is, if I am logged in previously as test@gmail.com and I am now trying to login as test2@gmail.com, it doesn’t prompt me to login; rather, it signs me in automatically as test@gmail.com.

It does prompt me if I log out first and then try.

Any idea about this behaviour will be hugely appreciated.

6 comments
S
P
Hi All, I am using expo and building an app with Kinde as the login interface, but it doesn't let me login to the application after installing the apk on my android device. Is it something related to the Environment in Kinde ? Am i doing something wrong ?

Thanks!
12 comments
C
y

Hello! First and foremost, I'm a big fan of your product - thank you for doing what you do.

For the most part, things have been very smooth. But we have had reports from multiple users about an infinite spinner on the login/signup page which never redirects to our app. We are trying to release the beta for our app and this is the only blocker.

Thanks for any help we can get!

17 comments
N
C
D

Hi Team, I would like to ask for some help regarding Cloudflare proxy to Kinde on custom domain.
I enabled the custom domain, it was working fine without the proxy.
After I enable the proxy, it seems like the custom domain is not reachable anymore. Got error code 522 from cloudflare.
I was wondering if https://docs.kinde.com/authenticate/custom-configurations/proxy-your-kinde-auth-pages-through-cloudflare/#create-a-cloudflare-managed-challenge this step is needed?

26 comments
P
D
A
Hi All, Just wondering if the function to delete user sessions is available using the JS management API SDK?
3 comments
Y
e
I've built V1 of my app, and auth is working fine locally. After deploying to vercel, I am getting the above error when attempting to login. If I navigate to the app again after this happens, it turns out I AM actually logged in, which makes me think it is an issue with redirects.

I have confirmed my vercel environment variables match my kinde config
22 comments
Y
Z
Other pages is possible to hide description in design setting, but the password page doesn't. Is it possible?
2 comments
C

Hi, I am trying to setup custom SAML APP on kinde. I uploaded IDP metadata received from google's SAML APP and used it in IDP metadata URL also added other required details. But I am getting this error after authentication on google

Something went wrong when we tried to authenticate you, and we can't offer a quick way out. Start a new session and try signing in again. Error code: 1656

2 comments
P
R
This feedback stems from this support discussion - https://discord.com/channels/1070212618549219328/1308303315595165777/1308303315595165777.

It includes use-case and current work arounds. Would it be possible to have an option to remove the Register button from Kinde's login experience when going through the designer? It seems like a low-effort (not that I have to do the work 😅) enhancement that circumvents a whole lot of gymnastics developers need to go through for some of the registration experiences. It also reduces the need for potential custom registration / login experiences.
8 comments
C
S
O
This support post is in relation to https://discord.com/channels/1070212618549219328/1308179325752705145 as to not confuse or deviate from what the OP of that thread was after.

Currently for registrations I am using Kinde's out of the box registration experience with a twist. I basically ask a few questions, store the answers, and then kick off Kinde's out of the box registration workflow. Once registration is completed I resume the process with follow-up questions before completing my applications setup which includes storing details (including correlating the Kinde data with my data) and setting up the organisation using Kinde's Management API. (I don't want to just auto create orgs)

This is great because by using Kinde's out of the box workflow I don't need to write code to log in or register. But I can still have custom activities before and after the Kinde part of the process.

However, if a user were to click log in, and then register on the Kinde UI they would have been registered in Kinde but not through my onboarding process resulting in an incomplete setup. Now, I could potentially detect this when signing in and get them to have a slightly different onboarding experience but then I'd need to maintain two different onboarding workflows both in terms of code, but also customer support.

As per the advice Yoshify gave in the original thread, you can disable self sign up, but then Kinde's registration functionality will return a 404 (not found / supported) error.

Is it possible in the brand design screens to somehow remove the register button from the login experience?
11 comments
Y
S
I
Hi all! I'm having trouble calling my API in a NextJS Hono server monorepo. I'm wanting to call an API and check for auth but eaverytime I do my server throws a 500 as the access_token from Kinde is undefined in the session manager.

Here is my session manager code:
Plain Text
export const sessionManager = (c: Context): SessionManager => ({
  async getSessionItem(key: string) {
    const result = getCookie(c, key);
    console.log("getting session item", key, result);
    return result;
  },
  async setSessionItem(key: string, value: unknown) {
    console.log("setting session item", key, value);
    const cookieOptions = {
      httpOnly: true,
      secure: true,
      sameSite: "Lax",
    } as const;
    if (typeof value === "string") {
      setCookie(c, key, value, cookieOptions);
    } else {
      setCookie(c, key, JSON.stringify(value), cookieOptions);
    }
  },
  async removeSessionItem(key: string) {
    console.log("removing session item", key);
    deleteCookie(c, key);
  },
  async destroySession() {
    console.log("destroying session");
    ["id_token", "access_token", "user", "refresh_token"].forEach((key) => {
      deleteCookie(c, key);
    });
  },
});


when I console log the getCookie result I get an undefined, but it is defined when setting it. Not sure if my implementation is correct or not. Any help is appreciated. Thanks.
3 comments
S
S
C
In my next.js application i am using next server actions for my api routes protected my kinde. I have mainly 4 routes get, get/id, edit and delete. All the routes work fine except the edit one where it gives me this error:
Plain Text
getUser Error [InvalidTokenError]
    at eval (webpack-internal:///(rsc)/./node_modules/jwt-decode/build/jwt-decode.esm.js:6:1134)
    at (rsc)/./node_modules/jwt-decode/build/jwt-decode.esm.js (C:\Users\harka\OneDrive\Documents\coding\paperless\.next\server\vendor-chunks\jwt-decode.js:40:1)
    at __webpack_require__ (C:\Users\harka\OneDrive\Documents\coding\paperless\.next\server\webpack-runtime.js:33:42)
    at eval (webpack-internal:///(rsc)/./node_modules/@kinde-oss/kinde-auth-nextjs/dist/server/index.js:15:68)
    at (rsc)/./node_modules/@kinde-oss/kinde-auth-nextjs/dist/server/index.js (C:\Users\harka\OneDrive\Documents\coding\paperless\.next\server\vendor-chunks\@kinde-oss.js:40:1)
    at __webpack_require__ (C:\Users\harka\OneDrive\Documents\coding\paperless\.next\server\webpack-runtime.js:33:42)
    at eval (webpack-internal:///(rsc)/./src/app/layout.js:13:93)
    at (rsc)/./src/app/layout.js (C:\Users\harka\OneDrive\Documents\coding\paperless\.next\server\app\receipts\[id]\page.js:489:1)
    at Function.__webpack_require__ (C:\Users\harka\OneDrive\Documents\coding\paperless\.next\server\webpack-runtime.js:33:42)   
    at async e9 (C:\Users\harka\OneDrive\Documents\coding\paperless\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:396491)
    at async rU (C:\Users\harka\OneDrive\Documents\coding\paperless\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:39:7365)
    at async r2 (C:\Users\harka\OneDrive\Documents\coding\paperless\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:39:17560) {
  message: 'Invalid token specified'
}
 POST /api/receipts/edit/info/8r5WW52G455NpnRyW500 307 in 67ms
 POST /api/auth/login 405 in 16ms

Note that my kinde debug mode is set to true.
11 comments
r
S
A
How do I make it so that people can't register, don't get “don't have an account? register” and can't do any kind of registration? Only login
3 comments
Y
S

Hi, I have been using Kinde for a few months and I need to set up a feature that I can't find on the docs. I would like to have a simple custom field on the signup page in addition to the existing ones. It should be a field asking the users for their country. Is that possible and if yes, is it stored in the kinde user object?
thanks

2 comments
D
P
Anyone else getting "504 Gateway Timeout" on your business kinde page?
1 comment
O
Hi there,

Currently, my default auth is set to use MFA. Since setting this as the default auth, we are needing to add support for external users (document signing) which will be added to one org named "External". Instead of using MFA for users in the External org, we would like to use magic links.

How would I accomplish this. Thanks!
1 comment
K
I want the username field to be labeled as "CNPJ" (National Register of Legal Entities in Brazil). Is it possible to rename the field and enforce a validation pattern?

Hi. having a few problems setting up custom email sender. I am using SendGrid Relay.

  1. Says port is optional but then requires it. So setting to 25 or 465 does not fix issues
  2. Pressing "Send test email" hangs and I get the attached error in the console.

2 comments
P
C
i already have the callback urls setup
2 comments
I
O
When a new user signs up using their work email, can I autoassign them to an org identified by their email's domain name?
1 comment
I
I'm in CET timezone and signed in at 11:37, but the UI shows 21:37.
2 comments
d

When creating a user through the management API I could have sworn I've seen the error "USER_ALREADY_EXISTS", I even have the check in my code. However I can't seem to recreate this error response in any way when i create users with existing information. I've tried a simple create user with given name, family name and email, the exact same request done twice doesn't result in already exist, but just a generic ERROR_CREATING_IDENTITY USER_NOT_CREATED. How am I supposed to best know if creating a user fails due to the user already existing? Do I have to use get GET /users endpoint and filter by email? Feels heavy-handed

4 comments
D
J