fix: cors (#621)

* fix: dont (re)generate client secret with auth type none

* fix(cors): allow Origin from request

* feat: add origin allow list and fix some core issues

* rename migration

* fix UserIDsByDomain

* check origin on userinfo

* update oidc pkg
This commit is contained in:
Livio Amstutz
2020-08-24 10:06:55 +02:00
committed by GitHub
parent 193cfb45f6
commit 4e1e8a714a
18 changed files with 128 additions and 26 deletions

View File

@@ -1,6 +1,7 @@
Errors:
Internal: Es ist ein interner Fehler aufgetreten
NoChangesFound: Keine Änderungen gefunden
OriginNotAllowed: Dieser "Origin" ist nicht freigeschaltet
User:
NotFound: Benutzer konnte nicht gefunden werden
UserIDMissing: User ID fehlt

View File

@@ -1,6 +1,7 @@
Errors:
Internal: An internal error occured
NoChangesFound: No changes found
NoChangesFound: No changes
OriginNotAllowed: This "Origin" is not allowed
User:
NotFound: User could not be found
UserIDMissing: User ID missing