ariannavalle / Azure-AD-React

Passport Azure AD OpenIDConnect setup with Node.js and React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure-AD-React

Passport Azure AD OpenIDConnect setup with Node.js and React

Backend - Build and run the application

Create .env file with the following config

CLIENT_ID=
TENANT_ID=
APP_URL=
MONGO_URL=
KEY=
IV=
ROLLOVER_KEY=
ROLLOVER_IV=
FRONTEND_POINT

From the server root directory, run the commands:

  • $ npm i
  • $ node app.js | bunyan

Frontend - Build and run the application

Create .env file with the following config

REACT_APP_SERVER_POINT= 
REACT_APP_REDIRECT_URL= 

From the client root directory, run the commands:

  • $ npm i
  • $ npm start

About

Passport Azure AD OpenIDConnect setup with Node.js and React


Languages

Language:JavaScript 87.3%Language:HTML 8.3%Language:CSS 4.5%