36 lines
585 B
Markdown
36 lines
585 B
Markdown
# ⛔️ THIS PROJECT IS NOT MAINTAINED ANYMORE
|
|
|
|
---
|
|
|
|
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-2
|
|
$ 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`.
|