17 lines
423 B
HTML
17 lines
423 B
HTML
<!DOCTYPE html>
|
|
<script>
|
|
async function doResolve() {
|
|
let params = new URLSearchParams(document.location.search);
|
|
let options = {};
|
|
if (params.get("accountId")) {
|
|
options.accountId = params.get("accountId");
|
|
}
|
|
let token = "resolved token";
|
|
if (params.get("selected")) {
|
|
token = "account=" + params.get("selected");
|
|
}
|
|
IdentityProvider.resolve(token, options);
|
|
}
|
|
window.onload = doResolve;
|
|
</script>
|
|
|