Spotify Login | Harris Lapiroff | Observable
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
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
Observable
Sign in
Harris Lapiroff
1
Reply
Add comment
Subscribe to notifications
2
Spotify Login | Harris Lapiroff | Observable