@things-factory/oauth2-client 6.0.12 → 6.0.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/oauth2-client",
3
- "version": "6.0.12",
3
+ "version": "6.0.17",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -35,5 +35,5 @@
35
35
  "client-oauth2": "^4.3.3",
36
36
  "clipboard": "^2.0.6"
37
37
  },
38
- "gitHead": "6dd9637de0444917aa5a3621ce1f361cfb483f36"
38
+ "gitHead": "960090ec7a355e26d55a46475babeff77eb52b15"
39
39
  }
package/server/routes.ts CHANGED
@@ -147,7 +147,7 @@ process.on('bootstrap-module-domain-public-route' as any, (app, domainPublicRout
147
147
  accessToken,
148
148
  refreshToken,
149
149
  expires,
150
- scopes: data?.scope.replace(',', ' '),
150
+ scopes: data?.scope?.replace(',', ' '),
151
151
  state: ''
152
152
  })
153
153