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

Support extending accounts to support HTTP basic auth #21

@mitar

Description

@mitar

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions