Authentication Redirect Same Window


#1

Is there a config option (maybe in the redirectToSignIn method that prevents a new tab from popping open?

I’ve been building out some OAUTH integrations in Graphite, and having the entire OAUTH flow happen in one window then having the user redirected back in that same issue is such a better experience. I’d like to apply that to authentication with Blockstack.


#2

The new tab opening behavior is determined by your default browser. We just call the operating system method for opening a URL:

If we create a browser extension and/or remove support for the blockstack: custom protocol handler, we could change the new tab opening behavior.


#3

Thanks, Larry!