31 lines
520 B
Markdown
31 lines
520 B
Markdown
|
Office365 OAuth2 authenticator
|
||
|
==============================
|
||
|
|
||
|
This project retrieves cookies used to authenticate an user on Sharepoint Online.
|
||
|
|
||
|
## Requirements
|
||
|
|
||
|
Tested with NodeJS 6.13.0.
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
```
|
||
|
$ git clone https://gitnet.fr/deblan/office365-oauth2-authenticator.git
|
||
|
$ cd office365-oauth2-authenticator
|
||
|
$ npm install
|
||
|
```
|
||
|
|
||
|
## Configuration
|
||
|
|
||
|
```
|
||
|
$ cp login_example login
|
||
|
```
|
||
|
|
||
|
Edit `login` and replace values of:
|
||
|
|
||
|
* MS_OFFICE365_SITE
|
||
|
* MS_OFFICE365_LOGIN
|
||
|
* MS_OFFICE365_PASSWORD
|
||
|
|
||
|
Then run `node index.js`.
|