Published
Edited
Jan 21, 2022
Insert cell
Insert cell
githubCode = new URLSearchParams(document.location.search).get("code")
Insert cell
md`... just realized I can't build this, because the next step in the GitHub flow requires me to POST my client_secret and I don't want to put that in a public notebook: https://docs.github.com/en/developers/apps/building-oauth-apps/authorizing-oauth-apps#2-users-are-redirected-back-to-your-site-by-github

Actually I'm going to try the device flow instead, since it looks like that doesn't require sending a client_secret https://docs.github.com/en/developers/apps/building-oauth-apps/authorizing-oauth-apps#device-flow`
Insert cell
clientId = "b4992628e206ff67f36e"
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more