Skip to content

Instantly share code, notes, and snippets.

View phileas-condemine's full-sized avatar

Philéas Condemine phileas-condemine

View GitHub Profile
@phileas-condemine
phileas-condemine / shiny-oauth.r
Last active December 22, 2020 21:13 — forked from hadley/shiny-oauth.r
Sketch of shiny + oauth
library(shiny)
library(httr)
library(shinydashboard)
library(magrittr)
mykey = paste(sample(LETTERS,20,replace = T),collapse="")#should be secret
# OAuth setup --------------------------------------------------------
# Most OAuth applications require that you redirect to a fixed and known
# set of URLs. Many only allow you to redirect to a single URL: if this
# is the case for, you'll need to create an app for testing with a localhost