1
0
Fork 0
This repository has been archived on 2022-08-25. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2019-10-29 09:09:40 +01:00
src init 2018-09-11 10:36:58 +02:00
.gitignore update gitignore 2019-07-14 13:04:50 +02:00
index.js fix issue with MS login update 2019-10-29 09:09:40 +01:00
login_example Documentation 2018-09-11 10:43:40 +02:00
package.json init 2018-09-11 10:36:58 +02:00
README.md add documentation 2019-07-14 13:04:00 +02:00

Office365 OAuth2 authenticator

This project retrieves cookies used to authenticate an user on Sharepoint Online.

Requirements

Tested with NodeJS 6.x, 8.x and 10.x.

Installation

$ git clone https://gitnet.fr/deblan/office365-oauth2-authenticator.git
$ cd office365-oauth2-authenticator
$ npm install

Configuration

$ cp login_example login
$ chmod +x login

Edit login and replace values of:

  • MS_OFFICE365_SITE
  • MS_OFFICE365_LOGIN
  • MS_OFFICE365_PASSWORD

Then run ./login.