Lurker News

Comments (157) 57 threads

Earlier comments
phreack#
I can't believe how there's no buttons on devices anymore. This is a reminder on how much I miss them! I remember when I'd clip a really small iPod to my chest between layers of clothes and just move through songs by pressing it whenever. First and last time I felt cyborg-ish with technology.
beeandapenguin#
Anyone know why the Spotify Web Playback SDK isn't supported on mobile?

The docs [1] say "It’s the same technology we use to power our Web Player experience", which seems to work fine on my mobile browsers. However, mobile browsers are explicitly listed as unsupported.
The docs also clarify it's powered by Encrypted Media Extensions, which is supported natively back to iOS11 and Chrome 42 [2]. There's also an actively maintained polyfill [3].
[1]: https://developer.spotify.com/documentation/web-playback-sdk...
[2]: https://caniuse.com/eme
[3]: https://github.com/google/eme-encryption-scheme-polyfill

sirfrankiecrisp2 replies#
Maybe a bit of a dumb question, but how can one be sure that this doesn't steal my credentials when logging in with spotify? It's open source, so I guess someone would probably have figured it out if it did by now, but is there a way to be sure or is it even possible?
ike07901 reply#
how can you be sure that any web site asking for google authentication doesn't "steal" your goolge data?

The reason is because of a protocol called Oath2.

sirfrankiecrisp#
Nice, thanks! I have heared of OAuth2 before, but didn't know what it was for... Now I know:)
prezjordan2 replies#
Not a dumb question, very much appreciate you keeping an eye out for your password security. It uses an OAuth flow so you're actually entering your credentials on accounts.spotify.com (Spotify-owned) and then Spotify gives this developer a token (rather than a username+password) to access your data (usually a very limited subset of data outlined on the login page).
ramenmeal1 reply#
any idea why it uses ngrok when I go to the sign in flow? Chrome is saying the connection is insecure.
baetylus#
he's probably just using ngrok as a server and the SSL cert on that ngrok process probs isn't verified by a CA. just a guess tho
sirfrankiecrisp#
Oh I see, makes sense! Thanks for the answer - very much appreciated!

Load more comments