1
0
Fork 0
This repository has been archived on 2022-08-25. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • JavaScript 98.3%
  • Shell 1.7%
Find a file
2021-07-13 13:18:55 +02:00
src init 2018-09-11 10:36:58 +02:00
.gitignore update gitignore 2019-07-14 13:04:50 +02:00
index.js fix issue with MS login update 2019-10-29 09:09:40 +01:00
login_example Documentation 2018-09-11 10:43:40 +02:00
package.json update dependecies 2021-07-13 13:18:55 +02:00
README.md add documentation 2019-07-14 13:04:00 +02:00

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.