@oslokommune/auth-bff 2.0.0-beta5 → 2.0.0-beta6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -81,7 +81,7 @@ WORKDIR /application
81
81
  EXPOSE 8080
82
82
  COPY --from=react-build /home/react/dist /application/dist
83
83
  ENV NODE_ENV=production
84
- RUN npm install -g @oslokommune/auth-bff@2.0.0-beta4
84
+ RUN npm install -g @oslokommune/auth-bff@2.0.0-beta6
85
85
  COPY bff.config.json /application/
86
86
  CMD ["auth-bff"]
87
87
  ```
@@ -211,6 +211,25 @@ running locally.
211
211
 
212
212
  3. Done!
213
213
 
214
+
215
+ ## Using with Entra ID:
216
+ When using the package with Entra ID, you need to get credentials from Azure. You need to collect following credentials in order to be able to use this package:
217
+
218
+ * issuer
219
+ * client id
220
+ * client secret
221
+
222
+ With Entra ID you need to make sure to remove `"okDataIdPortenKeyName"`from the configuration file and replace it with client secret.
223
+
224
+ ```json
225
+ {
226
+ "issuer": "https://login.microsoftonline.com/{TENANT_ID}/v2.0",
227
+ "clientId": "1111111q-2bab-3333-c444-5555e556cb55",
228
+ "clientSecret": "7dW3Q~_sdfj3-4f5g-6789-h0i1-2j3k4l5m6n7",
229
+ ...
230
+ }
231
+ ```
232
+
214
233
  ## Configuring session storage
215
234
 
216
235
  Currently only dynamoDb is supported for storing sessions in production. It requires some setup.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/auth-bff",
3
- "version": "2.0.0-beta5",
3
+ "version": "2.0.0-beta6",
4
4
  "repository": "https://github.com/oslokommune/auth-bff.git",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -37,11 +37,11 @@
37
37
  "react": "17.0.2",
38
38
  "supertest": "^7.2.2",
39
39
  "typescript": "^5.9.3",
40
- "vitest": "^4.0.18"
40
+ "vitest": "^4.1.2"
41
41
  },
42
42
  "dependencies": {
43
- "@aws-sdk/client-dynamodb": "^3.990.0",
44
- "@aws-sdk/client-ssm": "^3.990.0",
43
+ "@aws-sdk/client-dynamodb": "^3.1018.0",
44
+ "@aws-sdk/client-ssm": "^3.1018.0",
45
45
  "command-line-args": "^6.0.1",
46
46
  "compression": "^1.8.1",
47
47
  "connect-dynamodb": "^3.0.5",
@@ -51,7 +51,7 @@
51
51
  "helmet": "^8.1.0",
52
52
  "http-proxy-middleware": "^3.0.5",
53
53
  "jose": "^6.1.3",
54
- "node-forge": "1.3.3",
54
+ "node-forge": "1.4.0",
55
55
  "openid-client": "^6.8.2",
56
56
  "string-replace-middleware": "^1.1.0"
57
57
  }
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/auth-bff",
3
- "version": "2.0.0-beta5",
3
+ "version": "2.0.0-beta6",
4
4
  "repository": "https://github.com/oslokommune/auth-bff.git",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -37,11 +37,11 @@
37
37
  "react": "17.0.2",
38
38
  "supertest": "^7.2.2",
39
39
  "typescript": "^5.9.3",
40
- "vitest": "^4.0.18"
40
+ "vitest": "^4.1.2"
41
41
  },
42
42
  "dependencies": {
43
- "@aws-sdk/client-dynamodb": "^3.990.0",
44
- "@aws-sdk/client-ssm": "^3.990.0",
43
+ "@aws-sdk/client-dynamodb": "^3.1018.0",
44
+ "@aws-sdk/client-ssm": "^3.1018.0",
45
45
  "command-line-args": "^6.0.1",
46
46
  "compression": "^1.8.1",
47
47
  "connect-dynamodb": "^3.0.5",
@@ -51,7 +51,7 @@
51
51
  "helmet": "^8.1.0",
52
52
  "http-proxy-middleware": "^3.0.5",
53
53
  "jose": "^6.1.3",
54
- "node-forge": "1.3.3",
54
+ "node-forge": "1.4.0",
55
55
  "openid-client": "^6.8.2",
56
56
  "string-replace-middleware": "^1.1.0"
57
57
  }