Auth (#169)
* 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user