Skip to content

Commit 45de3d3

Browse files
authored
fix: scope names correction
#563
1 parent 03a56ff commit 45de3d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

casa/extras/enrollment-client/enroll.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function getToken(url, clientId, clientSecret) {
6565
{name : "Content-Type", value : "application/x-www-form-urlencoded"}
6666
]
6767
var payload = "grant_type=client_credentials"
68-
payload += "&scope=casa.enroll%20casa.2fa"
68+
payload += "&scope=https%3A%2F%2Fjans.io%2Fcasa.enroll%20https%3A%2F%2Fjans.io%2Fcasa.2fa"
6969
return genericPOST(url, payload, headers)
7070
.then(result => JSON.parse(result).access_token)
7171

0 commit comments

Comments
 (0)