Skip to content

Cookie tokens in API methods #189

@PizieDust

Description

@PizieDust

Some API endpoints (particularly those which use multipart/form-data still check for a csrf cookie even when it's purely an API call.
For API calls, passing an empty csrf cookie will work as long as the Authorization header is correct. The JSON parsing strictly checks for the presence of molly_csrf field but discards it later on for API functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions