backend-manager 2.5.26 → 2.5.27
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
|
@@ -97,11 +97,12 @@ Module.prototype.main = function () {
|
|
|
97
97
|
newUrl.searchParams.set('redirect_uri', self.ultimateJekyllOAuth2Url);
|
|
98
98
|
|
|
99
99
|
newUrl.searchParams.set('access_type', typeof payload.data.payload.access_type === 'undefined' ? 'offline' : payload.data.payload.access_type)
|
|
100
|
+
newUrl.searchParams.set('prompt', typeof payload.data.payload.prompt === 'undefined' ? 'consent' : payload.data.payload.prompt)
|
|
100
101
|
newUrl.searchParams.set('include_granted_scopes', typeof payload.data.payload.include_granted_scopes === 'undefined' ? 'true' : payload.data.payload.include_granted_scopes)
|
|
101
102
|
newUrl.searchParams.set('response_type', typeof payload.data.payload.response_type === 'undefined' ? 'code' : payload.data.payload.response_type)
|
|
102
103
|
}
|
|
103
104
|
|
|
104
|
-
assistant.log('OAuth2 newUrl', newUrl, {environment: 'production'});
|
|
105
|
+
assistant.log('OAuth2 newUrl', newUrl.toString(), newUrl, {environment: 'production'});
|
|
105
106
|
|
|
106
107
|
await self.oauth2.buildUrl(payload.data.payload.state, newUrl)
|
|
107
108
|
.then(url => {
|