Skip to content

Instantly share code, notes, and snippets.

View netlob's full-sized avatar
:shipit:
hoppaaaaaaaa

Sjoerd Bolten netlob

:shipit:
hoppaaaaaaaa
View GitHub Profile
@netlob
netlob / MSM3.js
Created September 16, 2019 20:36
MSM3.js
import phin from "phin";
import { Cookie } from "tough-cookie";
import { Issuer, generators } from "openid-client";
import { extractQueryParameter } from "./util";
import { tenant, username, password, authCode } from "./config.json";
// Create a file named config.json first:
// {
// "username": "",
// "password": "",