Skip to content

Redis-based authentication lacks user synchronisation #21

@retrixe

Description

@retrixe

This has become a problem since c665136

We could handle this intelligently:

  • Main Octyne instances will have accounts in their users.json which are loaded to Redis.
  • Subordinate Octyne instances will not have any accounts, and will only read accounts from Redis.
    These instances will disable their account management endpoints.
  • We could add a role property to the Redis configuration to prevent misconfiguration.

Loading accounts could be done via the same Authenticator interface i.e. RegisterAccount and UnregisterAllAccounts functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions