Skip to content

exchange login example with microsoft gaph, express and oauth2

License

Notifications You must be signed in to change notification settings

Attacler/microsoft-gaph-login-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microsoft-gaph-login-example

Microsoft gaph login example with express and oauth2, This example uses Microsoft gaph. https://developer.microsoft.com/en-us/graph

Setup

  1. get credentials from microsoft gaph - https://docs.microsoft.com/en-us/graph/auth-register-app-v2
  2. download/clone this respository
  3. rename the config-example.json to config.json
  4. fill in all details in the config.json
  5. run npm i to install all required modules
  6. run npm start in your command line to test if it works

Testing

  1. run npm start in your command line
  2. open localhost:3000 in your browser
  3. click on 'Click here to login' and login with a outlook/office account
  4. see what happends!

Note

You can find the GET/POST urls from: https://developer.microsoft.com/en-us/graph/graph-explorer

About

exchange login example with microsoft gaph, express and oauth2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published