32 lines
542 B
Markdown
32 lines
542 B
Markdown
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`.
|