0

I've made a pure Chrome extension from scratch (no external libraries) but now need to use auth0.

Is there any way to import and implement auth0 in a chrome extension without major changes to a pure Javascript Chrome extension?

Also, how closely can I follow this quickstart to gain access to api that needs auth0?

https://auth0.com/docs/quickstart/spa/vanillajs/01-login

Trying to use CDN gives me content security policy issues (haven't looked too hard into this yet),

auth0-chrome is deprecated,

and using node gives me a file not found error when trying to import auth0 stuff:

// taken from auth0's js login quickstart
import createAuth0Client from '@auth0/auth0-spa-js';
Xietyz
  • 1

0 Answers0