Skip to content

The CSRF token is missing – 400 Bad Request #31

@Validooo

Description

@Validooo

Hi guys,

I am facing a problem when trying to send an email to the author of a dataset when the dataset is restricted. After filling out the form as shown in the picture below, I am redirected to the page https://my-ckan/dataset/<dataset-id>/restricted_request_access/id which shows: The CSRF token is missing. 400 Bad Request.

Image Image

Steps to reproduce:

I am using the Keitaro Helm chart with CKAN 2.11.4.

I have the restricted app installed.

CSRF is enabled.

I do not face any problems like the one mentioned in this post when creating a dataset (where the user had CSRF issues). ckan/ckan#9007

I only get the CSRF error when submitting the restricted request form.

When disabling CSRF, everything works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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