@5minds/node-red-contrib-processcube 1.5.10-logging-identity-not-refreshing-26fa8f-m49o2y8n → 1.5.10-logging-identity-not-refreshing-2c5a6a-m49qicqa
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": "@5minds/node-red-contrib-processcube",
|
3
|
-
"version": "1.5.10-logging-identity-not-refreshing-
|
3
|
+
"version": "1.5.10-logging-identity-not-refreshing-2c5a6a-m49qicqa",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "Node-RED nodes for ProcessCube",
|
6
6
|
"scripts": {
|
@@ -85,6 +85,7 @@ module.exports = function (RED) {
|
|
85
85
|
}
|
86
86
|
|
87
87
|
async function getFreshIdentity(url, node) {
|
88
|
+
console.log('isrefreshing777...');
|
88
89
|
node.log('refreshing for url: ' + url);
|
89
90
|
try {
|
90
91
|
if (
|
@@ -103,9 +104,9 @@ module.exports = function (RED) {
|
|
103
104
|
});
|
104
105
|
|
105
106
|
const body = await res.json();
|
106
|
-
node.log('auth url: ' + body);
|
107
|
+
node.log('auth url this is being used: ' + body);
|
107
108
|
|
108
|
-
const issuer = await oidc.Issuer.discover(
|
109
|
+
const issuer = await oidc.Issuer.discover(body);
|
109
110
|
|
110
111
|
const client = new issuer.Client({
|
111
112
|
client_id: RED.util.evaluateNodeProperty(n.clientId, n.clientIdType, node),
|