Okta for chrome extension

I am creating a chrome extension that allows users to sign in using the Okta Sign-in Widget, due to CORS that I now have to add the extension’s origin to the trusted origins in the dashboard, however, when I tried adding it in I got an error message saying that this origin is not valid (the origin is in the form of “chrome-extension://…”)

Is this something that you can’t do with Okta? Is the only way to use it is through a webpage?

Thanks in advance.