Example Azure Active Directory login Oauth2 passport Typescrit backend with cleint in Vue.js
Install modules and dependencies
cd client
npm i
cd server
npm i
You need a register app in azure active directory and create a secret of aplicacion.
Config the url reply to localhost:3000/signin, this is the backend
Grant tokens id to aplication
create a .env with a config parameters in backend
You need a TENANT, CLIENT_APP_ID, and create a CLIENT_SECRET
Start the backend server
npm run start
Start the front server
npm run serve
[Example Video]https://youtu.be/RBFFKZdkm2I