generator-express-azuread
v0.0.3
Published
Scaffold a NodeJS + Express web application with AzureAD authentication built-in
Downloads
2
Maintainers
Readme
generator-express-azuread
Scaffold a NodeJS + Express web application with AzureAD authentication built-in
Introduction
This Yeoman generator scaffolds out an entire Express 4 application, complete with authentication against Azure Active Directory using OpenID Connect, PassportJS and passport-azure-ad.
Demo:
Pre-Requisites
- Be sure to read through the AzureAD Documentation including Integrating with Azure Active Directory
- The scaffolded app uses
async/await
features from Node v8. Either ensure you have Node v8+ installed, or remove the async code from the/routes/profile.js
file.
Installation
First, install Yeoman and generator-express-azuread using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-express-azuread
Then generate your new project:
yo express-azuread
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
License
MIT © Steven Follis