https://github.com/lemon-mint/tiny-auth-service
Multipurpose external authentication server made with Go
https://github.com/lemon-mint/tiny-auth-service
auth authentication authorization echo-framework go identity identity-management identity-provider
Last synced: 22 days ago
JSON representation
Multipurpose external authentication server made with Go
- Host: GitHub
- URL: https://github.com/lemon-mint/tiny-auth-service
- Owner: lemon-mint
- License: mit
- Created: 2021-01-15T13:44:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-24T12:28:49.000Z (almost 3 years ago)
- Last Synced: 2024-06-20T22:35:11.935Z (12 months ago)
- Topics: auth, authentication, authorization, echo-framework, go, identity, identity-management, identity-provider
- Language: Go
- Homepage:
- Size: 41 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tiny-Auth-Service
[](https://goreportcard.com/report/github.com/lemon-mint/Tiny-Auth-Service)Multipurpose external authentication server made with Go
## Environment variable config
`TINY_AUTH_SERVICE_SECRET_KEY`: Secret key used to encrypt and sign cookies
(If not set, it will be generated automatically)
`TINY_AUTH_SERVICE_DATABASE_TYPE`: Specify the type of DB server storing user information. (Default: `sqlite3`)
`TINY_AUTH_SERVICE_CAPTCHA_ENABLE`: `true` or `false` (Default: `false`)
`TINY_AUTH_SERVICE_CAPTCHA_SITEKEY`: site key for recaptcha or hcaptcha
`TINY_AUTH_SERVICE_CAPTCHA_SECRETKEY`: site key for recaptcha or hcaptcha
`TINY_AUTH_SERVICE_CAPTCHA_VERIFY_URL`:
(ex: `https://hcaptcha.com/siteverify` or `https://www.google.com/recaptcha/api/siteverify` or `https://www.recaptcha.net/recaptcha/api/siteverify`)`TINY_AUTH_SERVICE_CAPTCHA_TYPE`: (`recaptcha` or `hcaptcha`)
`TINY_AUTH_SERVICE_INITDB_ADMIN_ID`
`TINY_AUTH_SERVICE_INITDB_ADMIN_PASSWORD`
# TODO
- [x] signin
- [x] signup
- [ ] 2FA