Skip to content

Commit fa0c910

Browse files
the default values for OAuth2 fields now point to a variable
1 parent 320a5d7 commit fa0c910

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/schemaUtils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ module.exports = {
11611161
if (!_.isEmpty(flowObj.refreshUrl)) {
11621162
helper.oauth2.push({
11631163
key: 'redirect_uri',
1164-
value: _.isString(flowObj.refreshUrl) ? flowObj.refreshUrl : ''
1164+
value: _.isString(flowObj.refreshUrl) ? flowObj.refreshUrl : '{{OAuth2_CallbackURL}}'
11651165
});
11661166
}
11671167

@@ -1170,7 +1170,7 @@ module.exports = {
11701170
if (!_.isEmpty(flowObj.tokenUrl)) {
11711171
helper.oauth2.push({
11721172
key: 'accessTokenUrl',
1173-
value: _.isString(flowObj.tokenUrl) ? flowObj.tokenUrl : '<Access Token URL>'
1173+
value: _.isString(flowObj.tokenUrl) ? flowObj.tokenUrl : '{{OAuth2_AccessTokenURL}}'
11741174
});
11751175
}
11761176
}
@@ -1180,7 +1180,7 @@ module.exports = {
11801180
if (!_.isEmpty(flowObj.authorizationUrl)) {
11811181
helper.oauth2.push({
11821182
key: 'authUrl',
1183-
value: _.isString(flowObj.authorizationUrl) ? flowObj.authorizationUrl : '<Auth URL>'
1183+
value: _.isString(flowObj.authorizationUrl) ? flowObj.authorizationUrl : '{{OAuth2_AuthURL}}'
11841184
});
11851185
}
11861186
}

0 commit comments

Comments
 (0)