Hi all, I've been scratching my head for ages on t...
# general
e
Hi all, I've been scratching my head for ages on this. Is there any reason the CORS headers are not added correctly when querying the token endpoint? Both my client and project configuration include the domain to allow. Everything is hosted by Ory. Using the CLI locally works like a charm for local dev.
public:
cors:
allow_credentials: true
allowed_headers:
- Accept
- Content-Type
- Content-Length
- Accept-Language
- Content-Language
- Authorization
allowed_methods:
- POST
- GET
- PUT
- PATCH
- DELETE
- CONNECT
- HEAD
- OPTIONS
- TRACE
allowed_origins:
- <https://admin.mydomain.com>
- https://*.<http://mydomain.com|mydomain.com>
debug: false
enabled: true
exposed_headers:
- Cache-Control
- Expires
- Last-Modified
- Pragma
- Content-Length
- Content-Language
- Content-Type
max_age: 0
{
"client_id": "a8b4df79-XXXXXXXX",
"allowed_cors_origins": [
"<https://admin.mydomain.com>"
],
}