* Added jwt crate

* Saving changes

Might go a different route later

* Crate changes

* Adding auth module

* Saving changes

* Added jsonwebtoken crate

* Saving changes

* Added feature to tower-http crate

* Using secret key from env file

* Locking down one endpoint to start

* Warning fix

* Got auth functioning

* Updated icarus_models

* Fixed auth in tests

* Warning fixes

* Code formatting

* Added auth to the other endpoints

* Version bump

* This should fix the pipeline test failure
This commit was merged in pull request #169.
This commit is contained in:
KD
2025-08-01 15:16:00 -04:00
committed by GitHub
parent 9aefeace23
commit 679a4ad322
5 changed files with 474 additions and 32 deletions
+3 -1
View File
@@ -68,7 +68,9 @@ jobs:
env:
ROOT_DIRECTORY: "/tmp"
DATABASE_URL: "postgres://${{ secrets.POSTGRES_USER }}:${{ secrets.POSTGRES_PASSWORD }}@localhost:5432/${{ secrets.POSTGRES_DB }}"
run: cargo test --verbose --
run: |
cat .env.sample | head -1 > .env
cargo test --verbose --
- name: Run clippy
run: cargo clippy -- -D warnings