copy azure-config.example and rename file to azure-config.js.
const config = { path: '/login', clientID: '87f210d2-d3af-43dd-ba98-07adaff3e791', tenant: '24981a26-eb7a-4f13-95d4-66827d36dec8', authorityUrl: 'https://login.windows.net/', resource: '00000002-0000-0000-c000-000000000000', clientSecret: 'xxxxxxxxxxxxxx', identityMetadata: 'https://login.microsoftonline.com/24981a26-eb7a-4f13-95d4-66827d36dec8/.well-known/openid-configuration', responseType: 'code', responseMode: 'form_post', redirectUrl: 'https://msg-test.akiomacloud.de/auth/azure/openid/return', allowHttpForRedirectUrl: false, validateIssuer: false, issuer: null, passReqToCallback: false, useCookieInsteadOfSession: false, cookieEncryptionKeys: [ ], loggingLevel: 'warn', loggingNoPII: true, nonceLifetime: null, nonceMaxAmount: 5, clockSkew: null }; |
In the PASOE config file, the configuration required for setting the generic login screen and azure authentication
eg.
<LoginScreen>loginGenericW</LoginScreen> |
For the Authentication in Node.js we also need to provide the URL:
eg.
<ssoAuthenticationURI>https://msg-test.akiomacloud.de/auth</ssoAuthenticationURI> |
The allowed authentication for Azure is called AzureActiveDirectory. You can specify one authentication or multiple authentication strategies via a comma delimited list.
eg.
<AllowedAuthentication>AzureActiveDirectory,AkiomaUser</AllowedAuthentication> |