Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1. Login to azure under
https://portal.azure.com/

2. Under App Registrations, register your new application.
It will ask you for name, supported accounts and redirect uri
Name and supported accounts please setup as per your preferences.
Redirect url required is https://msg-testlogin.akiomacloud.de/auth/azure/openid/return
where https://msg-testlogin.akiomacloud.de would be the domain running the Node.js server



23. Update the metadata link in azure-config.js with the new tenant information

identityMetadata: 'https://login.microsoftonline.com/24981a26-eb7a-4f13-95d4-66827d36dec8/.well-known/openid-configuration'

Where '24981a26-eb7a-4f13-95d4-66827d36dec8' is the tenant id (see screenshot)



34. Update the new clientID in the azure-config.js file to match your application clientID.

clientID: '87f210d2-d3af-43dd-ba98-07adaff3e791',

(see screenshot)


45. Go to the newly registered application settings and generate a new secret key. Use this key in the config file for azure(azure-config.js)
   
    clientSecret: 'xxxxx?=xxxxxx_xxxxxx?EQphp_e0[=5'

This can be found in the application settings, App Registrations -> select application -> under Certificates & secrets
(see screenshot)



56. After setting up all the required configuration, restart your Node.js server and you are good to go!

...