32 lines
529 B
Markdown
32 lines
529 B
Markdown
|
Office365 OAuth2 authenticator
|
||
|
==============================
|
||
|
|
||
|
This project retrieves cookies used to authenticate an user on Sharepoint Online.
|
||
|
|
||
|
## Requirements
|
||
|
|
||
|
Tested with NodeJS 16+.
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
```
|
||
|
$ git clone https://gitnet.fr/deblan/office365-oauth2-authenticator-2.git
|
||
|
$ cd office365-oauth2-authenticator
|
||
|
$ make setup
|
||
|
```
|
||
|
|
||
|
## 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`.
|