default broker is self
This commit is contained in:
parent
6a131f6650
commit
e78999d4a1
|
@ -107,10 +107,9 @@
|
|||
if (/localstorage/i.test(params._scheme)) {
|
||||
if (sub) {
|
||||
subData = localStorage.getItem(sub + '@oauth3.org:issuer');
|
||||
onSuccess(subData || localStorage.getItem('oauth3.org:issuer'), subData && true);
|
||||
return;
|
||||
}
|
||||
onSuccess(localStorage.getItem('oauth3.org:issuer'));
|
||||
onSuccess(subData || localStorage.getItem('oauth3.org:issuer')
|
||||
|| window.location.href.replace(/\/\.well-known.*/, ''), subData && true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue