feat(auth-app): fixed response format

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2024-08-07 13:28:10 +02:00
parent d483234b65
commit e7e1839296
4 changed files with 94 additions and 50 deletions

View File

@@ -36,7 +36,7 @@ func DefaultConfig() *config.Config {
Root: "/",
CORS: config.CORS{
AllowedOrigins: []string{"*"},
AllowedMethods: []string{"POST"},
AllowedMethods: []string{"GET", "POST", "DELETE"},
AllowedHeaders: []string{"Authorization", "Origin", "Content-Type", "Accept", "X-Requested-With", "X-Request-Id", "Ocs-Apirequest"},
AllowCredentials: true,
},