try {
const cred = await navigator.credentials.get({
identity: {
providers: [
{
configURL: "https://idp.example/manifest.json",
clientId: "1234",
},
],
},
});
} catch (e) {
const error = e.error;
const url = e.url;
}IdentityCredentialError: url property / notebook
IdentityCredentialError: url property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.