Azure-Samples / active-directory-node-webapi

A NodeJS web API that is secured using Azure AD and OAuth 2.0 access tokens.
105 stars 64 forks source link

when i run the code it ask me client id cannot be empty where i have to give client id #19

Closed subhans3tech closed 7 years ago

subhans3tech commented 8 years ago

client is app id of azure directory

poojaKarande13 commented 7 years ago

The options in app.js file should be as following:

var options = { audience: config.creds.audience, validateIssuer: config.creds.validateIssuer, passReqToCallback: config.creds.passReqToCallback, loggingLevel: config.creds.loggingLevel, clientID: config.creds.clientID };

//clientID is missing Also add the clientID in config.js

subhans3tech commented 7 years ago

thanks

rmetcalf9 commented 7 years ago

This is a normal part of setup - Why isn't it documented in the README??????