This repository was archived by the owner on Jun 29, 2021. It is now read-only.

Description
So while adding support for HTTP basic auth could be done inside a package, the issue is that not all hooks are exposed for this purpose. For example, one can call setUserId to associate user with a connection, but that does not call validateloginattempt.
One solution is to monkeypatch Package["accounts-base"].Accounts._loginUser, but the issue is that this is not a very stable approach. There might have to be a public API for it. How it would be structured?
A motivation for this is also integrating Sandstorm authentication properly, which also uses HTTP auth: sandstorm-io/meteor-accounts-sandstorm#24