Data Stream URL Method
-
Like topic 1793827667184 [ Tidal: HELP: Unable to log in with client ID ] i need to know what Redirection URL Strawberry use for TIDAL. Is it http://127.0.0.1:8080 or http://localhost:443?
Info apprecheated -
-
Hey Jonas, thank you very much for your quick resonse!
At [https://developer.tidal.com](link url) I created an app named "Strawberry Linux". It's OAuth Redirect URI is now your suggestion: "tidal://login/auth".
Strawberry 1.2.31 on Ubuntu 24.04.5 Custom Client ID is TIDAL app's Client ID.
( What should be Strawberry's Data stream URL Method: "urlpostpaywall or "streamurl"? )Clicking "Connect" results in:
[https://login.tidal.com/authorize?client_id=R6Pqa9NQLpLhHVyJ&code_challenge=ZWaGB_YAw1_muaItvyQk9pTY021NwEPbMo55PQJ9TdY&code_challenge_method=S256&redirect_uri=tidal%3A%2F%2Flogin%2Fauth&response_type=code&scope=r_usr w_usr&state=z-1aTaB6KWgHdg8gx3DF~OK-Ke2SB9Wf&geo=DE&campaignId=default](link url)Something went wrong. Please try again. If the error persists, contact customer support.
1002Tomorrow I can test on Ubuntu 26.04.1 and on latest Mac, but I guess, result will be the same.
Thank you in advance for your help!
-
tidal://login/auth
URI scheme needs to be registered to Strawberry.Hi Jonas,
i just got https://github.com/strawberrymusicplayer/strawberry/issues/369.
Seems to be a TIDAL issue instead of Strawberry.
Isn't it? -
Strawberry doesn't use that API (openapi.tidal.com). It uses the same API as the official Tidal App (api.tidalhifi.com).
-
@jonas
Hi Jonas,
got on search for some hours. Problem is thatapi.tidalhifi.comis the legacy one and to get a Client ID, you have to fetchX-Tidal-Tokenfrom a legacy app. (see below)
Your statement at https://forum.strawberrymusicplayer.org/topic/6048/tidal-authentication-error seems to be wrong because of this requireopenapi.tidal.com!
Couldn't you please updateapi.tidalhifi.comtoopenapi.tidal.comwhere i can just create an app @developer.tidal.com and that's it.*To use Tidal with Strawberry Music Player, you need a legacy Tidal API token (often referred to in the community as an
X-Tidal-Tokenor client string used by older official apps or specific third-party integrations).You are entirely correct that the modern developer portal (
openapi.tidal.com) issues client IDs intended for the new Open API, which are incompatible with the older endpoint (api.tidalhifi.com) that Strawberry relies on.How to Find or Obtain the Required Token
Because Tidal does not officially issue legacy API tokens to end-users anymore, the token must typically be sourced from an application package or extracted using network monitoring tools. The most common approaches include:
- Extracting from a Legacy Tidal Client / APK:
- Many open-source media player communities (such as for Strawberry, Clementine, or similar client tools) rely on tokens extracted from older desktop or mobile versions of the official Tidal app where the client token was embedded in the installation files or cache.
- On Linux or Android environments, users traditionally locate configuration or cache files (such as
okhttpcache files on Android or application binaries) and search for theX-Tidal-Tokenstring.
- Using Network Inspection (Fiddler / Wireshark):
- Some users capture traffic from an older official desktop client. By routing the official app's traffic through a local proxy tool like Fiddler or Charles Proxy while logging in, you can inspect the HTTP headers of the outgoing requests to
api.tidalhifi.comto view the client token being passed in the headers.
- Community Repositories and Discussions:
- Because hardcoded legacy client tokens frequently change or get deprecated by Tidal's backend infrastructure, the Strawberry Music Player community forums and issue trackers are generally the best place to look for current working tokens or scripts designed to acquire them. You can check the Strawberry Music Player Forum where users discuss working implementation strings.
To use Tidal inside **Strawberry Music Player**, you need an older application client ID / `X-Tidal-Token` (which functions as the API client key for the legacy `api.tidalhifi.com` endpoints). The newer developer portal credentials utilize `openapi.tidal.com`, which is incompatible with Strawberry’s legacy implementation. --- ### Does the Linux Flatpak TIDAL Hi-Fi provide the `X-Tidal-Token`? **No.** The unofficial Linux Flatpak client (often based on web wrappers or newer electron builds) communicates with Tidal's modern infrastructure and OAuth setups. It does not natively expose or store a legacy `X-Tidal-Token` in a format that Strawberry can read or use as a Client ID. --- ### How to Get a Client ID / Token for Strawberry Because Tidal has progressively locked down or phased out legacy unauthenticated client strings from their modern desktop and mobile apps, users typically obtain a working token using one of the following methods: 1. **The Android App Cache Method (Older APK):** * Many users sideload an older version of the Tidal Android app (such as version `2.32.1` via an APK archive site) inside an emulator (like BlueStacks or Anbox/Waydroid) or an older phone. * Log into your account on that app version. * Navigate to the app's cache directory using a file explorer: `/Android/data/com.aspiro.tidal/cache/okhttp/` * Copy those cache files to your computer and run a terminal command like: ```bash grep -r "X-Tidal-Token" /path/to/copied/cache/files/ ``` This will reveal the embedded token string required for Strawberry. 2. **Using Third-Party CLI/Python Tools:** * Open-source python packages or command-line downloaders built for Tidal (such as older forks of `tidal-dl` or python-tidal async clients) sometimes store or print out legacy config parameters or client tokens inside their local `.json` configuration files after an initial login. ### How to Get a Client ID / Token for Strawberry Music Player Strawberry requires an API token (historically referred to as an `X-Tidal-Token` or legacy client ID) that interacts with Tidal's legacy/mobile API endpoints (`api.tidalhifi.com`). Official developer portal client IDs use `openapi.tidal.com` and enforce modern security layers that incompatible open-source clients cannot natively parse for playback streams. To make Strawberry work, you need a token sourced from an older mobile client setup or community-vouched legacy strings. #### Methods to obtain one: 1. **Community/Publicly Shared Tokens:** Because extracting raw tokens requires network packet inspection (using tools like Fiddler, Charles Proxy, or looking through older open-source client repositories like `python-tidal`), many users look up known working client IDs shared on the [Strawberry Music Player Forums](https://forum.strawberrymusicplayer.org/) or GitHub discussions. 2. **Mobile App Packet Capture (Advanced):** Traditionally, developers extracted these tokens by routing traffic from an older Android or iOS Tidal APK through an HTTPS intercepting proxy (like mitmproxy or Charles) while logging in. Once you acquire a valid legacy string, paste it into Strawberry's **Client ID** field, check **Use OAuth**, and click login. This will open a browser window for you to safely authenticate your actual Tidal account. --- ### Does the Linux Flatpak TIDAL Hi-Fi Provide an `X-Tidal-Token`? **No.** The popular Linux Flatpak/Snap package (`tidal-hi-fi`) is built by wrapping the official **Tidal Web Player** inside an Electron container with Widevine DRM support. * It communicates directly with Tidal's standard web infrastructure rather than acting as a standalone native API client. * Because it relies on web wrappers and browser-based tokens managed dynamically under the hood, it does not expose or provide a static `X-Tidal-Token` or client ID that you can copy-paste into Strawberry. --- ### Does the Official macOS TIDAL App Provide It? **No.** The official macOS desktop application is a closed-source native/Electron application compiled by Tidal. * It obfuscates its network calls and uses backend authentication tokens dynamically negotiated via secure channels. * Inspecting the macOS app package contents or configuration files will not yield a plain-text `X-Tidal-Token` or legacy client ID suitable for third-party media players like Strawberry.*
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login