1
0
Fork 0
firefox/testing/web-platform/tests/fedcm/support/resolve.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

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>