fix typo for scope
This commit is contained in:
parent
0727c3a6c9
commit
f069314e76
|
@ -358,7 +358,7 @@
|
||||||
vm.api.urls.scope = function () {
|
vm.api.urls.scope = function () {
|
||||||
// TODO do something like this in the oauth3 library
|
// TODO do something like this in the oauth3 library
|
||||||
vm.urls.scope = 'https://:host/.well-known/oauth3/scopes/:scope.json\nhttps://example.com/.well-known/oauth3/scopes/example@oauth3.org.json\n\n'
|
vm.urls.scope = 'https://:host/.well-known/oauth3/scopes/:scope.json\nhttps://example.com/.well-known/oauth3/scopes/example@oauth3.org.json\n\n'
|
||||||
+ 'GET https://example.com/.well-known/oauth3/#/?action=directives&state={{random}}&redirect_uri=https%3A%2F%2Fsso.hellabit.com%2F.well-known%2Foauth3%2Fcallback.html%23%2F&response_type=rpc&_method=GET&_pathname=.well-known%2Foauth3%2Fscopes%2Fexample@oauth3.org.json';
|
+ 'GET https://example.com/.well-known/oauth3/#/?action=scope&state={{random}}&redirect_uri=https%3A%2F%2Fsso.hellabit.com%2F.well-known%2Foauth3%2Fcallback.html%23%2F&response_type=rpc&_method=GET&_pathname=.well-known%2Foauth3%2Fscopes%2Fexample@oauth3.org.json';
|
||||||
};
|
};
|
||||||
vm.api.discoverScopes = function () {
|
vm.api.discoverScopes = function () {
|
||||||
var scopes = vm.form.scopes && vm.form.scopes.split(',') || [];
|
var scopes = vm.form.scopes && vm.form.scopes.split(',') || [];
|
||||||
|
|
Loading…
Reference in New Issue