Discussions

Ask a Question
Back to All

Getting Cross Origin Request Blocked Issue

Hello,

Following the recent integration, we've implemented a dynamic import method as shown below:

const fpPromise = import(`https://fpjscdn.net/v3/${fingerprintjsBrowserToken}`).then(FingerprintJS => FingerprintJS.load())
fpPromise.then(fp => fp.get()).then(result => {
const stringifyResult = JSON.stringify(result);
})
};

However, we are encountering a "Cross Origin Request Blocked" issue. Could you advise if any modifications are necessary for this implementation to function correctly? Additionally, I couldn't find any recent updates addressing this specific scenario in the Fingerprint documentation.

Your suggestions would be greatly appreciated.

Thank you,
Pankaj Kumar Singh