Skip to content

Commit 98b148b

Browse files
committed
Reverting msal node version
1 parent b133d67 commit 98b148b

File tree

4 files changed

+73
-28
lines changed

4 files changed

+73
-28
lines changed

app/auth/azure-auth.js

-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ const authenticate = async (redirectCode, cookieAuth) => {
3131
redirectUri: config.auth.redirectUrl
3232
})
3333

34-
console.log(JSON.stringify(token))
35-
console.log(JSON.stringify({ cookieAuth }))
3634
cookieAuth.set({
3735
scope: token.idTokenClaims.roles,
3836
account: token.account

app/config/auth.js

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ const { error, value } = schema.validate(config, { abortEarly: false })
2020

2121
if (error) {
2222
throw new Error(`The auth config is invalid. ${error.message}`)
23-
} else {
24-
console.log('config', JSON.stringify(value))
2523
}
2624

2725
module.exports = value

package-lock.json

+71-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ffc-ahwr-backoffice",
3-
"version": "1.24.84",
3+
"version": "1.24.85",
44
"description": "Back office of the health and welfare of your livestock",
55
"homepage": "https://github.com/DEFRA/ffc-ahwr-backoffice",
66
"main": "app/index.js",
@@ -24,7 +24,7 @@
2424
],
2525
"license": "OGL-UK-3.0",
2626
"dependencies": {
27-
"@azure/msal-node": "2.9.2",
27+
"@azure/msal-node": "1.14.5",
2828
"@hapi/boom": "10.00",
2929
"@hapi/catbox-redis": "^6.0.2",
3030
"@hapi/cookie": "^11.0.2",

0 commit comments

Comments
 (0)