Skip to content

Authorisation problem #1

@bwhp1

Description

@bwhp1

Hi Duncan
I'm so excited to be able to use your framework to control our office Sonos system.
But I'm having trouble with the authorisation so not getting very far.
When I use the example at https://duncan3dc.github.io/sonos-cloud/setup/ (having set up a developer code etc at developer.sonos) on the callback I'm getting an error, something about a missing request header per below. Can you please tell me what I'm doing wrong?

PHP Fatal error: Uncaught duncan3dc\Sonos\Cloud\Exceptions\AuthenticationException: invalid_request - Missing request header 'Authorization' for method parameter of type String in /home/arc33114/public_html/rss_admin_new/sonos-cloud/vendor/duncan3dc/sonos-cloud/src/OAuthProvider.php:56

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions