Spotify Login | Harris Lapiroff | Observable
ojs
ojs
ojs
ojs
ojs
ojs
Author
Harris Lapiroff
@harrislapiroff
Principal Web Developer at Freedom of the Press Foundation
Comments (3)
Fabian Iwand
Aug 11, 2020
This fails if no profile image is set. I'd also recommend to expose the profile json in an intermediate cell so that it can be inspected.
Aug 11, 2020
Perhaps this function could be split up into a low-level API login helper and a high-level view helper?
Harris Lapiroff
Aug 11, 2020
Great point! I've started by separating out the template at least and adding a conditional that should hopefully fix this issue, but I'll also keep thinking about better ways to structure that.
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Public
Forum
Bluesky
YouTube
X
Observable
Sign up
Harris Lapiroff
1
Reply
Add comment
Subscribe to notifications
2
Spotify Login | Harris Lapiroff | Observable