feat(auth): Base auth with plugins
- Add fastify to protect routes plugins (requireAuth: true) - Simple Demo to show regular password auth (no 2FA/OTP nor remote auth) - Currently supports: login, logout, signin - OTP workflow should work, not tested - Fixed convention for docker volumes (now all placed in /volumes/<name>)
This commit is contained in:
parent
ddde700494
commit
964fe908a6
17 changed files with 398 additions and 197 deletions
|
|
@ -4,7 +4,8 @@ set -e
|
|||
set -x
|
||||
# do anything here
|
||||
|
||||
cp -r /extra /files
|
||||
mkdir -p /volumes/static/auth/
|
||||
cp -r /extra/login_demo.html /volumes/static/auth/index.html
|
||||
|
||||
# run the CMD [ ... ] from the dockerfile
|
||||
exec "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue