Skip to content

Commit 5a70b44

Browse files
committed
fixes #220 - typo in ouath authorizeUrl
1 parent 0cde5d0 commit 5a70b44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/security-scheme-template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ async function onInvokeOAuthFlow(apiKeyId, flowType, authUrl, tokenUrl, e) {
137137
} else if (flowType === 'implicit') {
138138
responseType = 'token';
139139
}
140-
const authCodeParams = new URLSearchParams(authUrl.search);
140+
const authCodeParams = new URLSearchParams(authUrlObj.search);
141141
const selectedScopes = checkedScopeEls.map((v) => v.value).join(' ');
142142
if (selectedScopes) {
143143
authCodeParams.set('scope', selectedScopes);

0 commit comments

Comments
 (0)