Skip to content

Hard coded value for allowed origins #244

@s-jairl

Description

@s-jairl

The file "internal/apigw/httpserver/service.go" contains hard coded CORS configuration:

[...]
AllowOrigins:     []string{"https://dc4eu.wwwallet.org", "https://demo.wwwallet.org", "https://dev.wallet.sunet.se", "https://sunetwallet-dev.app.siros.org/"},
[...]

In order to avoid per-deployment forking, this value should preferably be read from "config.yaml" or some other source instead.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions