Merge pull request #275 from ets-cfuhrman-pfe/debug-oidc-1
Some checks failed
CI/CD Pipeline for Backend / build_and_push_backend (push) Failing after 18s
CI/CD Pipeline for Nginx Router / build_and_push_nginx (push) Failing after 18s
CI/CD Pipeline for Frontend / build_and_push_frontend (push) Failing after 17s
Tests / lint-and-tests (client) (push) Failing after 1m8s
Tests / lint-and-tests (server) (push) Failing after 1m3s

lowercase email to match the mongo user key
This commit is contained in:
Christopher (Cris) Fuhrman 2025-03-04 16:04:56 -05:00 committed by GitHub
commit 59ac5a88c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,7 +55,7 @@ class PassportOpenIDConnect {
try { try {
const received_user = { const received_user = {
auth_id: profile.id, auth_id: profile.id,
email: profile.emails[0].value, email: profile.emails[0].value.toLowerCase(),
name: profile.displayName, name: profile.displayName,
roles: [] roles: []
}; };