mirror of
https://github.com/ditkrg/AuthorizationServerDemos.git
synced 2026-01-23 01:46:39 +00:00
add link to node-jwks-rsa
This commit is contained in:
parent
d053835810
commit
704d7a61df
@ -9,6 +9,7 @@ const app = express()
|
|||||||
app.use(cors())
|
app.use(cors())
|
||||||
const port = 8000
|
const port = 8000
|
||||||
|
|
||||||
|
// https://github.com/auth0/node-jwks-rsa/blob/master/examples/express-demo/README.md
|
||||||
app.use(jwt({
|
app.use(jwt({
|
||||||
// Dynamically provide a signing key based on the kid in the header and the signing keys provided by the JWKS endpoint.
|
// Dynamically provide a signing key based on the kid in the header and the signing keys provided by the JWKS endpoint.
|
||||||
secret: jwksRsa.expressJwtSecret({
|
secret: jwksRsa.expressJwtSecret({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user