SC.connect is opening Android native app, and make the authentication impossible on Android
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- android, javascript
- Domain
- api, authentication, mobile-dev
Research direction
Start with the SC.connect implementation and the sample flow linked from the API authentication guide. Reproduce the redirect on Android 6 with the SoundCloud app installed, then trace how the /connect URL is generated and handled. Done means the client-side authentication flow can open successfully without being captured by the native app.
Written by the indexing model from the issue text.
Description
On Android, the native app is registered to https://soundcloud.com and https://m.soundcloud.com.
When the SC.connect call try to open the https://soundcloud.com/connect?... page, it's automatically redirected to the native SC app, that failed with a message indicating : "A problem occurs with this URL".
If you try the sample flow from "Try out the Client-side auth flow" button of the API doc https://developers.soundcloud.com/docs/api/guide#authentication, you will see the behavior.
You need an Android phone with Android version 6, with SoundCloud app installed (logged in or not).
Would it be possible to either add path to the Android intent to avoid capturing the /connect? path, or to give use a new URL like connect.soundcloud.com that will not be managed by the mobile app?
Thanks
- Dominant language
- JavaScript
- Stars
- 388
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from soundcloud/soundcloud-javascript
-
Dependency Dashboard Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
soundcloud/soundcloud-javascript#90 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in soundcloud/soundcloud-javascript
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Add: BuyPass TV Openchannels:add check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
S: triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100