1.0.8 • Published 4 years ago

aad-msal-token-validator v1.0.8

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
4 years ago

This is a fastify-plugin that will get the bearer token out of the request and will validate it using the CERTIFICATE, AUD and ISS. The token is generated from Azure Active Directory for accounts in a single tenant organizational directory.

To use this, you will need to register it as a plugin, and to decorate fastify with name 'authConfig' and next properties: 'key' (the certificate), 'audience' and 'issuer'. After that you will need to add an 'onRequest' hook for 'fastify.auth'.

Also, this package uses 'jsonwebtoken': '^8.5.1'

1.0.8

4 years ago

1.0.7

4 years ago