https://github.com/mguentner/passwordless
https://github.com/mguentner/passwordless
authentication jwt passwordless
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mguentner/passwordless
- Owner: mguentner
- License: agpl-3.0
- Created: 2021-07-30T19:06:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-08T17:05:35.000Z (over 4 years ago)
- Last Synced: 2025-10-01T05:43:08.705Z (4 months ago)
- Topics: authentication, jwt, passwordless
- Language: Go
- Homepage:
- Size: 36.1 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# passwordless
authenticates without a password using e-mail and issues
short-lived JWT access tokens.
Thought as a library to cover the authentication domain of independent
services. Check `main.go` for a sample application.
The sample application serves all public keys under `/api/keys`, other services
can retrieve these and validate the JWT tokens.
# Usage
Create a set of keys using `create_signing_keys.sh`.
Example:
```
$ ./create_signing_keys.sh testKeys
```
Copy `config.sample.yaml` to `config.yaml` and adjust for your needs.
The key directory is set using the `keyPath` option.
Check `config/config.go` for comments on other options.
Run the application using `./passwordless --configPath config.yaml`
# Copyright and License
AGPLv3 (see LICENSE)
2021 Maximilian Güntner