Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Error verifying JWTs signed by Kinde from Next.js to Express API - Kinde
K
Kinde
•
13mo ago
•
2 replies
Daniel
Error verifying JWTs signed by Kinde from Next.js to Express API
According to docs I import the verifier
:
const
{jwtVerify
}
= require
(
"
@kinde
-oss
/kinde
-node
-express
"
)
;
const verifier
= jwtVerify
(
"
h
t
t
p
s
:
/
/
<your
_kinde
_subdomain
>
.kinde
.com
"
)
;
This is my express project where I want to protect my routes
. According to docs
:
app
.get
(
"
/some
-route
"
, verifier
,
(req
, res
)
=
>
{
console
.log
(req
.user
)
;
/
/
{id
:
k
p
:the
-users
-kinde
-id
}
}
)
;
But I get an error
: TypeError
: Cannot destructure property
'audience
' of
't
' as it is undefined
.
This is thrown at the code line
: const verifier
= jwtVerify
(
"
https://kynavo.kinde.com
"
)
;
Am I missing something obviously important
? The sign in works fine in my client
(Next
.js
)
Gratefuul for any guidance on this
.
,
Kinde
Join
1,776
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Chaining Middlewares Next.JS Kinde + next-international
K
Kinde / 💻┃support
2y ago
Verifying JWT provided by Kinde with PKCE extension
K
Kinde / 💻┃support
16mo ago
next.config.js Kinde Env Vars
K
Kinde / 💻┃support
3y ago
Next.js Build doesn't call getUser() from kinde
K
Kinde / 💻┃support
16mo ago