add link to node-jwks-rsa

This commit is contained in:
Muhammad Azeez 2021-01-18 12:52:10 +03:00
parent d053835810
commit 704d7a61df

View File

@ -9,6 +9,7 @@ const app = express()
app.use(cors())
const port = 8000
// https://github.com/auth0/node-jwks-rsa/blob/master/examples/express-demo/README.md
app.use(jwt({
// Dynamically provide a signing key based on the kid in the header and the signing keys provided by the JWKS endpoint.
secret: jwksRsa.expressJwtSecret({