@telia-ace/alliance-portal 1.0.6-next.2 → 1.0.6-next.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @telia-ace/alliance-portal
2
2
 
3
+ ## 1.0.6-next.3
4
+
5
+ ### Patch Changes
6
+
7
+ - e8eda01: Fix issue with user session cookie being too large.
8
+
3
9
  ## 1.0.6-next.2
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -47,6 +47,10 @@ async function startPortal() {
47
47
  logger.trace({ msg: 'added user to database, if it did not already exist' });
48
48
  }
49
49
  catch { }
50
+ // FUTURE TODO: Implement some external storage for sessions, such as redis
51
+ // Temporary - With this the stored session cookie gets too big
52
+ // @ts-ignore
53
+ delete session.access_token;
50
54
  return session;
51
55
  },
52
56
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/alliance-portal",
3
- "version": "1.0.6-next.2",
3
+ "version": "1.0.6-next.3",
4
4
  "description": "ACE Alliance portal",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "Telia Company AB",