SoundCloud SDK not receiving token callback in production environments, in Safari only

228 views Asked by At

I'm wondering if this is a bug with a new SC SDK release that has gone out. Everything was working fine until of late.

To replicate:

  • open Safari
  • go to: http://mixmatic.io
  • login and look at the local storage from Mixmatic for auth. It will be null.

Do the same in Chrome and it will be correctly populated.

To further test, once authed on Chrome and Safari, head into the console and type:

SC.accessToken();

Chrome will return the token, Safari will return null.

Could you please investigate this bug?

1

There are 1 answers

3
Jan-Willem Gmelig Meyling On

Have a look at https://github.com/MoodCat/angular-soundcloud . I ended up in rewriting the Soundcloud SDK for angular / router purposes. Maybe you can benefit from it, it seems you are using Angular as well.