Skip to content

ClientToken Challenge not solved #417

Description

@cth-latest

Hello, it's not really a bug because it seems to work in this implementation but I'm trying to transcribe librespot in C# and I encounter a problem. During the initial request to retrieve the client token, a challenge is asked which doesn't seem to happen in librespot-java.

oneof parameters {
        ClientSecretParameters client_secret_parameters = 2;
        EvaluateJSParameters evaluate_js_parameters = 3;
        HashCashParameters evaluate_hashcash_parameters = 4;
    }

Librespot doesn't seem to solve these challenges in the ApiClient class, if anyone could enlighten me on this point.

Also, during the HashCash challenge in this request there is no LoginContext and the length is not the same (20) so the resolution algorithm must be somewhat different.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions