A Go net/http Handler compatible library and middleware for performing secure password-less authentication a form of OTP (https://en.wikipedia.org/wiki/One-time_password)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
James Mills 82d33ccd60
Update CHANGELOG for 0.0.1
4 weeks ago
.chglog Fix import paths 5 months ago
cmd/magic-link-auth-demo Cleanup the project 4 weeks ago
tools Cleanup the project 4 weeks ago
.DS_Store Cleanup the project 4 weeks ago
.gitignore Cleanup the project 4 weeks ago
.goreleaser.yml Cleanup the project 4 weeks ago
.yamllint.yml Add CI/CD and Release tools (#10) 1 year ago
AUTHORS Add README, LICENSE, AUTHORS and Contributing docs (#11) 1 year ago
CHANGELOG.md Update CHANGELOG for 0.0.1 4 weeks ago
CONTRIBUTING.md Cleanup the project 4 weeks ago
LICENSE Add README, LICENSE, AUTHORS and Contributing docs (#11) 1 year ago
Makefile Add CI/CD and Release tools (#10) 1 year ago
README.md Cleanup the project 4 weeks ago
auth.go Refactor into a reuseable library (#9) 2 years ago
email.go Refactor into a reuseable library (#9) 2 years ago
go.mod Cleanup the project 4 weeks ago
go.sum Cleanup the project 4 weeks ago
handlers.go Add CI/CD and Release tools (#10) 1 year ago
magiclinkauth.go Fix import paths 5 months ago

README.md

magic-link-auth

magic-link-auth is a net/http Handler compatible library and middleware for performing secure password-less authentication a form of OTP.

NOTE: By itself this should not be used as your primary authentication since it relies on the security of other 3rd-party components such as your email provider. It is strongly advised that you pair this with appropriate MFA.

Development

git clone https://git.mills.io/prologic/magic-link-auth.git
make
make test

Demo

go install go.mills.io/magic-link-auth/cmd/magic-link-auth-demo@latest
magic-link-auth-demo

Example (TBD)

TBD

See the Go Doec for further documentation and other examples.

Contributors

Thank you to all those that have contributed to this project, battle-tested it, used it in their own projects or products, fixed bugs, improved performance and even fix tiny typos in documentation! Thank you and keep contributing!

You can find an AUTHORS file where we keep a list of contributors to the project. If you contriibute a PR please consider adding your name there.

License

magic-link-auth is licensed under the term of the MIT License