local-user-service/

directory
v0.0.0-...-0490640 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2019 License: Apache-2.0

README

Local User Service

This service is a simple go GRPC wrapper around Dex's password GRPC API. We are using it for local user creation and management currently.

Local User Management

Most users will be managed by external identity providers, but AuthN also provides for defining users locally. AuthN is the source of truth for these locally defined users, and is responsible for their verification against a locally persisted password.

Password Validation

When creating a user, or updating an existing user's password, the service performs minimal password policy validation.

The requirements are:

  • at least 8 characters
  • at least 3 unique characters (so no "aabbaabb")

If the password validation fails, the GRPC method will return status.InvalidArgument, which translates into HTTP status code 400 when used through grpc-gateway (which powers automate-gateway).

Directories

Path Synopsis
cmd
dex
mock
nolint: govet
nolint: govet

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL