Auth error when using module

Created on 11 March 2022, over 2 years ago
Updated 2 August 2024, 3 months ago

Problem/Motivation

Was seeing this:

Array
(
    [0] => Array
        (
            [code] => 10000
            [message] => Authentication error
        )

)

Steps to reproduce

Install latest module and configure using CF tokens as described in docs.

Proposed resolution

Looks like the API has changed? I was able to get it working by changing the auth headers.

'Authorization' => 'Bearer ' . $this->cloudflareStream->getApiKey(),

Remaining tasks

Test patch please :)

User interface changes

n/a

API changes

Service updated protected function getHeaders

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States saltednut Chicago

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡§πŸ‡ͺBelgium tim-diels Belgium πŸ‡§πŸ‡ͺ

    The 3.0.x release will allow to use the new authentication. But even with the 2.0.x we did not have any problems. So closing this one as works as designed.

Production build 0.71.5 2024