mirror of https://github.com/statping/statping
Update scopes parameter for custom OAuth
https://www.rfc-editor.org/rfc/rfc6749#section-3.3 Fixes statping-ng/statping-ng#165pull/1118/head
parent
d740a7e44b
commit
0375d7e14b
|
@ -105,7 +105,7 @@
|
||||||
}
|
}
|
||||||
scopes.push(this.oauth.custom_scopes.split(","))
|
scopes.push(this.oauth.custom_scopes.split(","))
|
||||||
if (scopes.length !== 0) {
|
if (scopes.length !== 0) {
|
||||||
return "&scopes="+scopes.join(",")
|
return "&scope="+scopes.join(" ")
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue