Fixed CORS and trait issue Kratos

This commit is contained in:
2022-10-21 01:27:02 +02:00
parent 4d92bc3e86
commit bfdc915631
4 changed files with 22 additions and 3 deletions

View File

@ -1,12 +1,28 @@
version: v0.10.1
dsn: memory
dev: true
serve:
public:
base_url: http://127.0.0.1:4433/
cors:
enabled: true
allowed_origins:
- http://127.0.0.1:3000
allowed_methods:
- POST
- GET
- PUT
- PATCH
- DELETE
allowed_headers:
- Authorization
- Cookie
- Content-Type
exposed_headers:
- Content-Type
- Set-Cookie
admin:
base_url: http://kratos:4434/