Issue signing in with Blockstack through a chrome extension


I’m trying to create a chrome extension using Reactjs that uses Blockstack to sign into the extension. However, I cant seem to login when I press the sign in button. Instead of redirecting to blockstack browser, nothing happens. I’m using userSession.redirectToSignIn() to handle the login process.

I get the following message on the console.
> [INFO] blockstack.js: generating v1.3.1 auth request
> index_bundle.js:7577 [INFO] Attempting protocol launch via iframe injection.
> index_bundle.js:7577 [INFO] Protocol handler not detected.
> index_bundle.js:7572 [WARN] protocol handler not detected

I’m using blockstack.js version 19.1.0.


Sorry for the delay here, @arunpdl013.

I asked internally and @zone117x informed me that a standalone web extension environment is not supported yet within our system.

He says an app domain needs to be setup and the web extension could interact with the webpage during the auth flow.


1 Like

Thanks for the response, @markmhendrickson.
I have incorporated iframe into the extension to load the webpage until a better solution comes up. Hope a new authentication approach that supports web extensions gets implemented soon.

1 Like