0
Does anyone know how I could create an API to validate login with Azure AD and return a token?
0
Does anyone know how I could create an API to validate login with Azure AD and return a token?
1
First you must start your project, to help you with these route questions, you can use the Express Generator, then you can use the Passport-Azure
A Simple Example...
app.get('/login',
passport.authenticate('azuread-openidconnect', { failureRedirect: '/' }),
function(req, res) {
log.info('Login was called in the Sample');
res.redirect('/');
});
Browser other questions tagged node.js windows-azure active-directory
You are not signed in. Login or sign up in order to post.
Have you tried anything? post something so we can help you?
– Julio Borges
I had tried to use Passport-Azure with Passport ... but n had got the login part yet.
– thiago.adriano26