backend-manager 2.5.24 → 2.5.25
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
|
@@ -69,7 +69,7 @@ Module.prototype.main = function () {
|
|
|
69
69
|
redirectUrl: payload.data.payload.redirect_uri,
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
assistant.log('OAuth2 payload', payload.data.payload);
|
|
72
|
+
assistant.log('OAuth2 payload', payload.data.payload, {environment: 'production'});
|
|
73
73
|
|
|
74
74
|
if (!payload.data.payload.provider) {
|
|
75
75
|
return reject(new Error(`The provider parameter is required.`));
|
|
@@ -101,6 +101,8 @@ Module.prototype.main = function () {
|
|
|
101
101
|
newUrl.searchParams.set('response_type', typeof payload.data.payload.response_type === 'undefined' ? 'code' : payload.data.payload.response_type)
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
assistant.log('OAuth2 newUrl', newUrl, {environment: 'production'});
|
|
105
|
+
|
|
104
106
|
await self.oauth2.buildUrl(payload.data.payload.state, newUrl)
|
|
105
107
|
.then(url => {
|
|
106
108
|
if (url) {
|