SSO in ODK with Azure

I have the central application hosted on my ubuntu 22.04 vm
this is the version of the application:

versions:
e4221ebeb41cd6ccb0cedad0461e5b603c207339 (v2024.3.2-1-ge4221eb)
8b1de6512faa7a60c05764312caec01f5c138c42 client (v2024.3.2)
7574030f7ea8750f3837950001a5efcdeba45b92 server (v2024.3.1)
I tried adding the required values in the .env file for SSO with Microsoft azure as show below following the documentaion provided in https://docs.getodk.org/central-install-digital-ocean/

OIDC_ENABLED=true
OIDC_ISSUER_URL=https://login.microsoftonline.com/#######-####-####-####-########/v2.0
OIDC_CLIENT_ID=#######-####-####-####-############# (application client id from azure)
OIDC_CLIENT_SECRET=############################### (Client secret value from azure)
I rebuild and restarted the application and when clicking the Sign in box, server 500 error

On the logs I could see the following:

TypeError: Cannot read properties of undefined (reading 'split')
at nextFrom (/usr/odk/lib/resources/oidc.js:99:45)
at errorToFrontend (/usr/odk/lib/resources/oidc.js:188:16)
at /usr/odk/lib/resources/oidc.js:131:16
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
::ffff:172.18.0.9 - - [08/May/2025:11:23:16 +0000] "GET /v1/oidc/login HTTP/1.0" 500 35

Any help will be appreciated
Thanks
Gokul