SOID - Simple Opiniated Demo Identities
SOID manages Identities, Permissions, Roles and Users for a multi-namespace
system. Typical use is to have one soid in the system for a multi tenant
system.
There is also an embedded http server that can be used to manage the soid
entities in the system.
Installation
git clone https://git.skogstorpet.nu/staffan/soid.git
cd soid
make build
Usage
Create a config file somewhere. An example is test/config_internal_webapp.yaml.
# Metadata defines where soid lives in the system
metadata:
namespace: system
name: soid_config
type: SOIDConfig
# soid_namespace is where the identities for soid is handled
soid_namespace: soid
# system_admin_password is the password for the admin account
system_admin_password: 1234
# root is the the root user that has total control over soid
root:
username: root
password: pass
# Where the database is located. Currently we are using sqlite
#on the local file system
database:
path: /tmp/soid.db
username: dbuser
password: pass
# From where is the soid administration webapp served. This must
# match the values in the webapp.
http_server:
address: "localhost:20000"
allowed_origins:
- "http://localhost:5000"
- "http://localhost:3000"
private_key: ""
certificate: ""
ca_cert: ""
# webroot could be set if we want to serve some other webapp via soid.
# if left empty, then the embedded webapp will be used.
# webroot: "/devmachine/user/soid/ui/public"
Start the server
dist/amd64/soid_server test/config_internal_webapp.yaml
Open the browser at location http://localhost:20000
License
MIT