Skip to content

CSRF TOKEN ISSUE 403 #117

@Ahson-Shaikh

Description

@Ahson-Shaikh

Hi - I'm trying to use your software wger and when my reverse proxy reaches to it, it gives 403 with CSRF token. I have also tried giving it the env for it as I have seen that in many issues in your projects, but still no luck. Have you guys fixed it or still working on it. Let me know the solution please.

Docker Image: wger/demo
Env: CSRF_TRUSTED_ORIGINS=https://$(PRIMARY_DOMAIN)

With another docker image, it works, but it does not load the CSS and other details of the panel.

Docker Image: wger/server:latest
Env: CSRF_TRUSTED_ORIGINS=https://$(PRIMARY_DOMAIN)

Image

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