TIDAL prompt for oAuth -- it works #1461
Replies: 7 comments 7 replies
-
|
Beta Was this translation helpful? Give feedback.
-
correction: missing r_usr and w_usr scopes maybe edit: this api.tidalhifi.com is not an official endpoint, right? There is discrepancy in the scopes! AUTHORIZATION in tidal official API Available scopes collection.read collection.write playlists.read playlists.write recommendations.read playback |
Beta Was this translation helpful? Give feedback.
-
hm these scopes r_usr and w_usr generates error when authenticating edit: the countryCode is not returned by openapi.tidal.com |
Beta Was this translation helpful? Give feedback.
-
actually I turned to the debug messages, this probably indicates its very far from working still :( :( :(
edit: I forced my countryCode as a QStringLiteral and got to populate the configs with the user_id returned by the official api JSON (with proper name). application/vnd.tidal.v1+json But i dunno how to fixx this, because the class is protected, i cant edit the headers from the Tidal class of our code... shucks. |
Beta Was this translation helpful? Give feedback.
-
Well, in sum, the oauth login DID work: it returns properly the user_id I just saw the post on the MPD discussion board................. I'm starting to understand that perphaps it would be better to remove support for Tidal, or wait even more for a better public API culture by part of the Tidal company :( I need a break, gonna rest and perphaps take a look at tidal-dl source code, stuff like that :( |
Beta Was this translation helpful? Give feedback.
-
Redirect URLs in production apps must conform to the following rules: no query parameters, only HTTPs schema, no localhost, no Private IP ranges thats one issue, thats why when I changed the redirectURL it started to work. The other issue are the scopes, r_usr and w_usr does not exist in the new loop. |
Beta Was this translation helpful? Give feedback.
-
When using tidalhifi, the new scopes bugs the search interface with error missing scope r_usr also the countrycode does not return by official oAuth. and user_id is the right name too, not userId does not need to say, if I chsange to openapi.tidal.com, it gets even worse. Gives bizarre return codes like 203 and 299 lol |
Beta Was this translation helpful? Give feedback.
-
I never ever managed to login to Tidal via Strawberry. Until now. I had to fiddle with a lot of stuff and write a new function that prompts for the URL, so the AuthorizationUrlReceived gets called. Take a look guys, its working!
I had to:
The prompt has a text input where the user pastes the URL received on browser after all this conditions meet and after he clicks USe Oauth with proper client id from developers.tidal.com app
Login worked ! Nice huh?
Beta Was this translation helpful? Give feedback.
All reactions