Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zikani03/nginx-smtp-auth
Auth subrequest in NGINX using SMTP to allow users to authenticate to protected resources via email
https://github.com/zikani03/nginx-smtp-auth
Last synced: 21 days ago
JSON representation
Auth subrequest in NGINX using SMTP to allow users to authenticate to protected resources via email
- Host: GitHub
- URL: https://github.com/zikani03/nginx-smtp-auth
- Owner: zikani03
- Created: 2023-03-25T15:51:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-17T22:40:40.000Z (almost 2 years ago)
- Last Synced: 2024-06-21T17:51:17.723Z (7 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
nginx-smtp-auth
===============A simple Go server to act as a proof-of-concept for how to authenticate to resources protected by NGINX's auth module via an SMTP server.
> NOTE: no cookies/sessions baked in yet so every request necessarily authenticates with the smtp server which isn't cool.
Checkout the example config in the [example](./example/) directory.
## References
- https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-subrequest-authentication/
- https://developer.okta.com/blog/2018/08/28/nginx-auth-request