Repository navigation
feat: sign in as a Deezer Family profile - #64
Merged
Merged
Conversation
Profiles of a Deezer Family share the admin's login. With account_id the
client signs in with {arl, account_id} and refuses a token for any other
account. get_family() lists the members that can be used this way.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Profiles of a Deezer Family have no ARL of their own, they share the login of the Family admin. So far the client could only reach the admin's library with that ARL (music-assistant/support#6617).
account_idon the client: signs in at auth.deezer.com with{arl, account_id}in the body, the same call Deezer's own auth library has for this (refreshArlLogin). A token for any other account raisesGraphQLClientAuthError.get_family()lists the Family members,isLoggableAsmarks the ones that can be used this way.The
familyUserIdcookie the web player keeps does not change the token, only the payload does. Tested with a real profile, also with the admin and the profile on one shared session at the same time.