Auth0 Home Blog Docs

Can't use "chrome-extension://" as a web origin scheme

lock-widget
web-origin
chrome-extension

#1

I would like to use the lock widget in a Chrome extension, but the client settings do not allow “chrome-extension://” as a valid scheme.

It seems like they allow http, https, ftp, etc., so there’s some kind of filtering going on. Could this scheme be added or are there other options?

Edit Frustratingly, this document shows that you should be able to do exactly this: https://auth0.com/docs/quickstart/native/chrome/01-login#configure-your-auth0-application


#2

I’d like to bump up this issue -

trying to set a chrome-extension://blahisforthefunofit fails as a wrong link

image

please handle, looks like a UI verification bug :frowning:


#3

Did you try adding it to the ‘Allowed Origins (CORS)’ or ‘Allowed Web Origins’?

It needs to be set in the ‘Allowed Origins (CORS)’ field.

I just submitted a PR to clarify that in the Quickstart document.


#4

thanks, that did the trick :+1: