hedgedoc/backend
Erik Michelson c4c5cbd5d0 fix(auth/oidc): string "undefined" for missing userinfo response fields
The userinfo response endpoint from the OIDC provider should not be
trusted to return what we expect. Fields could be undefined. In that
case HedgeDoc would have written "undefined" into the fields for
profile picture or email address.
This fix checks for fields being undefined and returns a default value
in that case.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-09-18 18:03:22 +02:00
..
docker fix(docker): update docker documentation reference 2024-09-17 01:35:45 +02:00
public
src fix(auth/oidc): string "undefined" for missing userinfo response fields 2024-09-18 18:03:22 +02:00
test refactor(media): store filenames, use pre-signed s3/azure URLs, UUIDs 2024-09-12 14:49:17 +02:00
.editorconfig
.env
.eslintrc.js
.gitignore
.prettierrc.json
.prettierrc.json.license
CHANGELOG.md
eslint-local-rules.js
jest-e2e.json
jest-e2e.json.license
nest-cli.json
nest-cli.json.license
package.json fix(types): move and remove unused types 2024-09-13 13:56:02 +02:00
package.json.license
tsconfig.build.json
tsconfig.build.json.license
tsconfig.json
tsconfig.json.license