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?
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.
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.
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!
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?
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
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); }); }, });
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
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
Hi. having a few problems setting up custom email sender. I am using SendGrid Relay.
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