summaryrefslogtreecommitdiff
path: root/lib/migrations
diff options
context:
space:
mode:
authorDavid Mehren2020-11-30 15:04:30 +0100
committerDavid Mehren2020-11-30 15:04:30 +0100
commitcc7fa947bfb4043bd4b97b0040e82daef892f365 (patch)
tree309bb8b2bbad207a5c763216c6c48910b3701d01 /lib/migrations
parent116fddd584a9d0927ce1109484826f6bc4074090 (diff)
Fix crash when OAuth2 config parameters are missing
If the optional config options `config.oauth2.userProfileIdAttr` or `config.oauth2.rolesClaim` were not set, `String.split` was called on `undefined`, triggering a crash. This commit adds handling of these cases and improves error logging in `checkAuthorization`. Fixes #608 Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to 'lib/migrations')
0 files changed, 0 insertions, 0 deletions