Skip to content

[Bug] Scopes are not working as expected if the user is not logged in before asking for token #4200

@lamarios

Description

@lamarios

Describe the bug
When requesting for scopes for api usage, if the user is not logged in beforehand the scopes won't be the same as requested.

Steps to Reproduce

  1. log out
  2. request for scopes:
/authorize_token?scopes=:feed,:subscriptions*,:playlists*,:history*
  1. log in
  2. the scopes are missing the *
    image
  3. Call the same scope url again (while being logged in):
  4. scopes are as expected
    image

Additional context
Current version: 2023.10.21-2414e7d @ master
Browser: firefox (mobile and desktop)

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