This repository has been archived on 2025-10-08. You can view files and clone it, but cannot push or open issues or pull requests.
miniauthold/Readme.md
kekskurse 92704e80f1
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/playwright Pipeline was successful
ci/woodpecker/push/deplyoment Pipeline was successful
fix: go mod oauth test
2025-05-25 20:49:24 +02:00

22 lines
970 B
Markdown

# Miniauth.
## Config
| Name | Description | Default |
|------|-------------|---------|
| DUMMY_DATABASE | Setup a new sqlite with the struct but no data for dev and test only | false |
| USERSTORE_SQLITE_PATH | Path to the Sqlite Database | `none` |
| PORT | Port for the Webserver | 8080 |
| SMTP_SERVER | SMTP Server to send mails, if server is `test` mails will not be send, no error shown | `none` |
| SMTP_PORT | SMTP Port | 587 |
| SMTP_USERNAME | SMTP Username | `none` |
| SMTP_PASSWORD | SMTP Password | `none` |
| SMTP_FROM | Mail address used as from for all mails | `none` |
| WEB_PUBLIC_REGISTRATION | Enabled the registration for anyone on the webgui | False |
| WEB_JWT_SECRET_KEY | Set secret key for the jwt used | `abc` |
| MINIAUTH_LOGIN_WITH_NOT_APPROVED_MAIL | Allow user to login even if there mail address is not validated | False |
## Development
create locale db by run `sh db.sh` than set the env varieables you need and run everything.