Skip to content

Instantly share code, notes, and snippets.

View dionysio's full-sized avatar
🏠
Working from home

Dionyz Lazar dionysio

🏠
Working from home
View GitHub Profile
@dionysio
dionysio / index.js
Last active March 14, 2021 03:47 — forked from talk2MeGooseman/index.js
Firebase Cloud Function 3rd Party Oauth Flow For The Web
const functions = require('firebase-functions');
var admin = require("firebase-admin");
const cookieParser = require('cookie-parser');
const crypto = require('crypto');
const axios = require('axios');
admin.initializeApp({});
/**
* Creates a configured simple-oauth2 client for Twitch.