Update scopes parameter for custom OAuth

https://www.rfc-editor.org/rfc/rfc6749#section-3.3

Fixes statping-ng/statping-ng#165
pull/1118/head
GlitchMasta47 2022-08-27 19:33:34 -05:00 committed by Willy
parent d740a7e44b
commit 0375d7e14b
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@
}
scopes.push(this.oauth.custom_scopes.split(","))
if (scopes.length !== 0) {
return "&scopes="+scopes.join(",")
return "&scope="+scopes.join(" ")
}
return ""
},