Skip to content

Calendar module: Digest auth missing #3219

Description

@nkl-kst

Hi,

I updated my MM to v2.25.0 and as stated in the changelog, the digest authentication method was removed as described in #3184.

#3184 (comment) says:

So I think we can remove digest auth because it has never worked since we replaced request

I'm using digest auth for a local setup since a few years:

// config/config.js - calendar module

url: "http://local.nas/path/to/calendar",
auth: {
    user: "username",
    pass: "password",
    method: "digest",
},                                                },

And now I'm getting this error:

0|mm       | [02.10.2023 20:41.25.095] [ERROR] Calendar Error. Could not fetch calendar:  http://local.nas/path/to/calendar Error: Unauthorized
0|mm       |     at NodeHelper.checkFetchStatus (/home/pi/MagicMirror/js/node_helper.js:116:9)
0|mm       |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

It previously worked with v2.24.0. Is there a workaround to use digest auth with v2.25.0?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions