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

Commit

Permalink
Merge branch 'main' into tw/feat/26-move-schema-update-to-backend
Browse files Browse the repository at this point in the history
# Conflicts:
#	package-lock.json
#	src/app.module.ts
#	src/config/app.yaml
#	src/notification/controller/webhook.controller.ts
  • Loading branch information
tomwwinter committed Feb 29, 2024
2 parents a4489d7 + 078157b commit 1ec8f63
Show file tree
Hide file tree
Showing 18 changed files with 532 additions and 58 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ curl -X "POST" "https://keycloak.aam-digital.net/realms/<your_realm>/protocol/op
--data-urlencode "client_id=<your_client_id>" \
--data-urlencode "client_secret=<your_client_secret>" \
--data-urlencode "grant_type=client_credentials" \
--data-urlencode "scopes=openid reports_read reports_write"
--data-urlencode "scopes=openid reporting_read reporting_write"
```
Check API docs for the required "scopes".
This returns a JWT access token required to provided as Bearer Token for any request to the API endpoints. Sample token:
Expand All @@ -45,7 +45,7 @@ This returns a JWT access token required to provided as Bearer Token for any req
"refresh_expires_in": 0,
"token_type": "Bearer",
"not-before-policy": 0,
"scope": "openid reports_read reports_write"
"scope": "openid reporting_read reporting_write"
}
```

Expand Down
214 changes: 205 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@nestjs/common": "^10.3.3",
"@nestjs/config": "^3.2.0",
"@nestjs/core": "^10.3.3",
"@nestjs/jwt": "10.2.0",
"@nestjs/platform-express": "^10.3.3",
"@nestjs/schedule": "4.0.1",
"@sentry/node": "^7.102.1",
Expand Down
Loading

0 comments on commit 1ec8f63

Please sign in to comment.