Cannot access the client's own user information or tracks
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- api, authentication
Direzione di ricerca
Start with the linked SoundCloud API documentation and the OAuth token flow, then investigate the reported GET /me and GET /me/tracks requests using client_credentials tokens. Done means determining whether those endpoints support this grant type and documenting or resolving the 401 behavior with a clear explanation and reproducible result.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Title: Cannot access the client's own user information or tracks
Issue found of: October 5th, 2021
Endpoint(s):
GET /meGET /me/tracks
Steps to reproduce:
Using the client_credentials grant type we receive an access token from the oauth/token endpoint which we use immediately to try and retrieve the users data and tracks from the /me and /me/tracks endpoints.
In both cases a 401 unauthorized response gets returned.
Based on this paragraph from the docs we are led to believe that as long as we're only trying to access the user details of the owner of the app (client Id & secret) this should be possible:
Authenticating without the SoundCloud Connect Screen
If you simply need an access token for testing, and do not want to go through the connect flow, or if your app needs to access only public resources, you can use the OAuth Client Credentials Flow. An example of this kind of app would be an artist's website where you'll only be accessing their tracks, playlists, or user information. In these cases you may exchange a set of your client credentials for an access token.
Expected behaviour:
The users details and tracks should be returned.
Actual behaviour:
401 unauthorized response every time without any error message.
- Lingua principale
- JavaScript
- Stelle
- 253
- Fork
- 53
- Merge medio
- 1m
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di soundcloud/api
-
POST /tracks connections terminated after ~30 uploads; reads and metadata updates continue workingAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
soundcloud/api#594 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
soundcloud/api#593 · 15 commenti ·
-
documentation
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
soundcloud/api#583 · 1 commento · 1 reazione ·
-
widget
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
soundcloud/api#557 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
soundcloud/api#548 ·
Tutte le issue di soundcloud/api
Issue simili
-
[quality] useFocusTrap's Shift+Tab wrap and non-Tab/non-Escape key arms are never driven end to endForse già presa @hivecommons-hive l’ha presa oggi. Apertaagent/quality hive/covered-by-pr hive/hosted-available-lke648397-260827-5n31 quality testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
[aw] Upgrade availableApertaagentic-workflows
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
githubnext/gh-aw-workshop#4220 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
JuliusBrussee/caveman#1189 ·
I maintainer di solito rispondono entro 1 giorno
-
priority:low ready-for-dev
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OpenHands/extensions#738 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
invoiceninja/invoiceninja#13320 ·
I maintainer di solito rispondono entro 1 giorno