r0man / soundklaus.el

Play music on SoundCloud with Emacs via EMMS
GNU General Public License v3.0
42 stars 5 forks source link

Getting 403 error on `soundklaus-connect` #31

Open Seme4eg opened 2 years ago

Seme4eg commented 2 years ago

Installed all prerequisites, completed all instructions from the 'authentication' section of readme. But when tryin to connect it opens https://api.soundcloud.com/connect?scope=non-expiring&response_type=code_and_token&redirect_uri=soundklaus%3A%2F%2Foauth%2Fcallback&client_id=988875d70be466a2dd1bfab120c0a306 and on it there is just:

{
  "code": 403,
  "message": "Authorization is only allowed for response_type=code.",
  "link": "https://developers.soundcloud.com/docs/api/explorer/open-api",
  "status": "403 - Forbidden",
  "errors": [
    {
      "error_message": "Authorization is only allowed for response_type=code."
    }
  ],
  "error": null
}

And is this package package still being maintained? Because i see last commit was 2 years ago.

r0man commented 2 years ago

Hi @Seme4eg, sorry, I just saw this now. Unfortunately Soundcloud changed their OAuth flows recently and the flow used by soundklaus.el is not supported anymore. I took a quick look at what changed, and I believe you would need to register your own app to get an OAuth token. But the registration process for a new app seems to be closed since over a year now. Not sure what's going on. Roman.