Skip to content

CORS Problems #7840

Closed
Closed
@HoffmannP

Description

@HoffmannP
  • Gitea version (or commit ref): 1.9

Description

Even after the 1.9-update I still have issues with CORS:

  1. only one single domain is configurable in cors.ALLOW_DOMAIN, setting it to '*' does not respond with the Origin-Domain but with * (which is not allowed for auth-Requests).
  2. the cors.SCHEMA option doesn't seem to do anything (also, probably only allows one value)
  3. in preflight-requests the authorization-header is omitted but querying the API even with an OPTIONS request results in a 403 Forbidden
  4. What is repository.ACCESS_CONTROL_ALLOW_ORIGIN doing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions