Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
feat: namespaces for data (#168)
Browse files Browse the repository at this point in the history
* refactor: new Astraservice

* style: remove log

* style: add js-doc

* refactor: configure namespace by header for standup

* feat: JWT-Client-Based Authentication

* feat: add scopes guard

* fix: fixed todos

* feat: add keyspace interceptor

* test: update unittests

* test: adjust unittests

* test: adjust unittests

* test: adjust unittests

* test: adjust unittests

* test: update e2e-tests

* feat: github-module to new feature

* feat: add new logic to discord module

* feat: add new auth logic to calendar module

* docs: change order for swagger

* test: fix existing e2e tests

* fix: add missing catch

* fix: read/write scopes (#137)

* feat: get all registred ClientIds

* style: organize imports

* test: add extra auth-step to test

* fix: tokentype not in paylaod

* test: new tests for wrong scopes

* refactor: alias import

* style: remove comments

* chore: renamed jwt secret envar (#137)

Co-authored-by: Cahllagerfeld <43843195+Cahllagerfeld@users.noreply.github.com>
  • Loading branch information
eddiejaoude and Cahllagerfeld authored Jul 31, 2021
1 parent 94f9c2e commit 0f90839
Show file tree
Hide file tree
Showing 43 changed files with 1,534 additions and 372 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
APPROVED_TOKENS=abc,def
DEBUG=false
JWT_SECRET=test-secret

STARGATE_BASEURL=http://localhost:8082
STARGATE_BASE_API_PATH=/v2/namespaces
Expand Down
5 changes: 5 additions & 0 deletions kubernetes/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ spec:
secretKeyRef:
name: approved-tokens
key: APPROVED_TOKENS
- name: JWT_SECRET
valueFrom:
secretKeyRef:
name: jwt-secret
key: JWT_SECRET
Loading

0 comments on commit 0f90839

Please sign in to comment.