const idOfThisApplication = chrome.runtime.id;
const sdk = new SocialLogin();
const url : string = `chrome-extension://${idOfThisApplication}`;
const signature1 = await sdk.whitelistUrl(
url
);
await sdk.init({
whitelistUrls:{
url: signature1,
},
});
In the above code I am trying to pass the extension id - but getting the error
could not validate redirect, please whitelist your domain