Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janinawibker/auth
Central authentication server for all my personal services and applications. All account related requests go here, the api backend just has to check the JWT using a public key given by the authentication server.
https://github.com/janinawibker/auth
authentication authentication-server authorization-server backend
Last synced: about 2 months ago
JSON representation
Central authentication server for all my personal services and applications. All account related requests go here, the api backend just has to check the JWT using a public key given by the authentication server.
- Host: GitHub
- URL: https://github.com/janinawibker/auth
- Owner: JaninaWibker
- License: mit
- Created: 2020-03-23T16:47:48.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-02T21:58:16.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T11:47:51.578Z (9 months ago)
- Topics: authentication, authentication-server, authorization-server, backend
- Language: TypeScript
- Homepage:
- Size: 2.07 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# auth (v2)
> some quick notes (this will turn into a proper readme soon™)
generate keys using the following:
```sh
openssl ecparam -name secp256k1 -genkey -noout -out ec-secp256k1-priv-key.pem
openssl ec -in ec-secp256k1-priv-key.pem -pubout > ec-secp256k1-pub-key.pem
```(source: https://learn.akamai.com/en-us/webhelp/iot/jwt-access-control/GUID-C3B1D111-E0B5-4B3B-9FF0-06D48CF40679.html)
build the docker containers using the build.sh script in the docker folder
for local development run `docker-compose up -d database` (docker directory) and `npm run start` (root directory)
for actual deployment run `docker-compose up -d` in the docker directory