Skip to content

allowedHeaders configuration doesn't change #4

@Emanuel-Palestino

Description

@Emanuel-Palestino

Hi, I changed the cors config file in LEAF API with the following:

'methods' => 'GET,PUT,POST,DELETE,OPTIONS',
'allowedHeaders' => 'Content-Type,Authorization',
'credentials' => true,

/* ... Other default configuration */

But the Access-Control-Allow-Headers header in preflight request doesn't change, it always has '*' value (default configuration).

This is the response headers:
image

I'm changing the default configuration for use cookies, I don't know if there is other way.

I hope you can help me, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions