Channels
nuxt ssr
$auth
is null
in a Vue component, which makes Kinde unusable for me (existing site). Appears composables are not supported in Nuxt with SSR disabled.
I've tried using a custom sessionManager
for Nitro (/server/
) in Nuxt, but it doesn't persist. Auth flow works and callback URL is invoked, but there's no way to persist the session.
Is there a fix, docs or something I'm missing??...Token expired issues
KindeServerSession values are null when using Stripe webhook
not getting verification emails
SMTP Server Timeout
How to setup SSO only for one organization?
Nextjs SDK redirects me to /api/auth/login which does not exist
<LoginLink>
from nextjs sdk redirects me to http://localhost:3000/api/auth/login
which does not exists
My kinde config is like this
```
KINDE_CLIENT_ID=id
KINDE_CLIENT_SECRET=secret...Express Protected Routes: How to pass JWT from client?
protectRoute
and getUser
middlewares in each route. From the client-side, I am using Expo and getting a JWT once successfully logging in, but I'm not sure how I should pass this as a parameter when invoking one of my API endpoints. How can I do this?...After calling createOrg({ org_name: 'name' }) a call to /token that returns 500
getOrganization()
returns no orgCode
Am I doing something wrong? is this an issue I need to work around? ...Custom properties added to the wrong token
Extending KindeIdToken type to include the `organizations` claim
organizations
claim to the id token and would like TypeScript to know about it so I could do:
```
import { getKindeServerSession } from "@kinde-oss/kinde-auth-nextjs/server";
const { getIdToken } = getKindeServerSession();
const idToken = await getIdToken();...useKindeAuth isLoading doesn't change to false
isLoading
does not change to false
.
What am I missing?
```
"use client";...Getting organization handle in id token claims
myapp.com/org-handle
, I'd like to check whether the user has access to the org-handle
organization, and if so, show them the page.
I found how to add organizations
to the id token claims, but this array contains the org id and name only. I'd like the org handle to be there.
Is this possible?
If not, what's the recommended way to check whether the user has access to a specific org given an org handle?
I also tried to fetch the list of all organizations using the Management API, but the handle is not returned there either....Permission doesn't work
await getPermissions()
returns no permissions: { permissions: [], orgCode: 'org_bcddc426a6d' }
And, await getPermission()
returns not granted: { orgCode: 'org_bcddc426a6d', isGranted: false }
What am I missing?...How to sign the user out when /logout is visited?
/logout
. This could be helpful if the user is stuck in some weird UI state due to a bug, or the "Sign out" button is not rendered for some reason.
Having a simple /logout
page to reset the auth could be a time saver at times.
How could I achieve this?...Should I include user model in database schema? And how to handle users registering their business?
username
email
registryDate
gotWarnings
? If we answer this question and let's say I shouldn't create a user model since I use Kinde, how should I handle the situation users register their restaurants in my app? I'm not trying to ask something unrelated but how that relation works with the Kinde user and restaurant if I create the restaurant model. I use Convex as my...isAuthenticated === false vs user === null
Multi-factor auth using SMS - Where is the user's phone number stored?
Protecting routes in Next.js App Router middleware
As of right now the middleware in the app router does not work when trying to redirect to api/auth/login. This is because of Next.js caching which causes issues during authentication.Should I read this as "currently, protecting routes in the middleware doesn't work, and the code examples mentioned in this docs section won't work either"? ...
User's first and last names are overridden when user logs in using Google