Kinde

K

Kinde

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

Join

Problem not sending state to the oauth2 /auth endpoint

Hi, I am not sending the state url parameter to the oauth2 /auth endpoint, as the docs says its not required (https://docs.kinde.com/developer-tools/about/using-kinde-without-an-sdk/#state) but the endpoint fails says it is required. Do I have to send state?

Client Credentials with Python SDK

When using OAuth Client Credentials flow, does the Python SDK provide a function to verify and decode the bearer authorization header?

LogoutLink is not redirecting to my desire URL

I tried to follow the instruction to set up my post logout route. However, it still redirect me to a default route instead of my home page. Does anyone have the same issue ? Or did I miss anything? Thank you...
No description

Need some help with my custom domain for production.

Been trying to setup a custom domain: * I have a website setup with DNS to azure under a subdomain sub.domain.com.au * I can't setup kinde to also point to sub.domain.com.au so its pointing to account.domain.com.au * I have setup my google OAuth with the callback url to account.domain.com.au. * This is an SPA so every time I login and refresh a page is goes back to my login....

Deploy a React Kinde app on Vercel

I attempted to deploy the React Kind app to Vercel, but after logging in, it showed
ProtectedRoute: {isLoading: false, isAuthenticated: false}
ProtectedRoute: {isLoading: false, isAuthenticated: false}
...

Middleware based protection not working

in my middleware.ts, i have the following code ```ts import { withAuth } from "@kinde-oss/kinde-auth-nextjs/middleware" export default withAuth(...

Are there guidelines for integrating Kind Auth with a React.js-based Figma plugin?

everyone, Does anyone have guidelines for integrating Kind Auth with a React.js-based Figma plugin? Any help would be greatly appreciated! 😊
No description

Nuxt with Prisma ORM and Kinde Auth

Hello, I'm trying to find an equivalent of the following code for Nuxt.js to connect a user signing in with Kinde to a Prisma powered database before initial page load. ``` import {PrismaClient} from "@prisma/client"; import {getKindeServerSession} from "@kinde-oss/kinde-auth-nextjs/server";...

Session cookie does not persist after reload in React SDK

main.js: ``` <KindeProvider clientId={import.meta.env.VITE_KINDE_CLIENT_ID} domain={import.meta.env.VITE_KINDE_DOMAIN}...

Create a user with username and password authentication using the API

Hello I'm trying to create a user using the following documentation: https://kinde.com/api/docs/#create-user The only options I have there is to create a user with email, phone or username. What do I need to do to be able to create a user with username and password? ...

How can I get the users JWT token after logging when using the Nuxt module?

Hey, i'm using the Nuxt module and I am trying to get the JWT token after login so I can pass it through to my Cloudflare Workers API in the Authorization header. Is this possible? I can't find anything in the Nuxt Module documentation that says how to access the token.

React SDK Sample CORS Error

Hi new to Kinde and just trying out the react sample at https://github.com/kinde-starter-kits/react-starter-kit I have updated the client id and domain to my application setup as React and has the call back urls set to http://localhost:3000. I can register a user and after login I get a CORS error. Am I missing something?
No description

Customizing or redirecting from the "Account not found" page

Is there any way I can redirect to a different page than the default Kinde "Account not found" page, if a user tries to log in and their account does not exist? I can't seem to find relevant info in the docs, but maybe I missed it?
No description

phone sign in, custom has changed

Something has changed, my custom phone log in routine is suddenly not working anymore. This is the result (image) before the user was shown the input token page I am triggering the page like this:...
No description

Invalid Credentials for kinde/management-api-js

I have added the management-api-js package to my project and I don't know why but I have that error: ``` ⨯ 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)...
No description

[Critical] kinde-auth-pkce-js

Unable to refresh token due to incorrect declaration in request. Please, check pull request: https://github.com/kinde-oss/kinde-auth-pkce-js/pull/73...

React Native Session Provider

Is there an example anywhere showing how to create a session provider with the Kinde React Native SDK in an expo app? Here is the Expo docs on how they encourage to use React Context and Route Groups https://docs.expo.dev/router/reference/authentication/ ...

Localhost Development

I wanted to test the site on my cell phone, that is, I have to use my computer's IP as it doesn't have https and I get an error, how do I solve it?
No description

Is there a way to logout in nextjs without using Link Logout?

I want to logout but link component does not satisfy our team needs as we are looking for a way to logout using button click event handlers. How can we do this? is it possible? i was reviewing the repo and cant find any, if not, is this planned? i think a few hooks may be very handy for us devs with some basic functionalities like login, logout, signup

Token Expire time not changing

I am working on a Expo React Native app using @kinde-oss/react-native-sdk-0-7x On the Application Tokens section of my portal with you guys I have set every token expire time to 60 seconds but when I make the call to login and then I console.log the token I see the expires_in value is still 86400....
No description