Skip to content

Instantly share code, notes, and snippets.

@hadley
hadley / shiny-oauth.r
Last active November 2, 2024 01:26
Sketch of shiny + oauth
library(shiny)
library(httr)
# 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
# url, and an app for your deployed app.