Skip to content

Is there a way, how I can disable csrf for swagger?  #5153

Open
@SpamhaterAlex

Description

@SpamhaterAlex

Hi together,

I use a double submit technique to prevent an unauthorized and unwarranted access. This carries a restriction of usage of Swagger. In my current setup to prove that I have "the right to write", I should manually copy a security token (x-xsrf-token) from the last request to the new request every time, if I want to interact with my API using PUT, POST or DELETE method.

Is there a way, how I can disable csrf for swagger?
Or do you have an idea, how I can solve my issue?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions