office365-oauth2-authentica.../README.md

32 lines
529 B
Markdown
Raw Normal View History

2022-08-25 12:30:10 +02:00
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`.