fix: Fix security config, add health check route and adjust requests (!9)
Co-authored-by: Phan Huy Tran <p.tran@neusta.de> Reviewed-on: https://git.simonis.lol/projects/casino/pulls/9 Reviewed-by: Constantin Simonis <constantin@simonis.lol> Reviewed-by: lziemke <lea.z4@schule.bremen.de>
This commit is contained in:
parent
7fe8f276cf
commit
35bfa3be7f
5 changed files with 23 additions and 39 deletions
6
backend/requests/getBearerToken.http
Normal file
6
backend/requests/getBearerToken.http
Normal file
|
@ -0,0 +1,6 @@
|
|||
POST http://localhost:9090/realms/LF12/protocol/openid-connect/token
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
grant_type=password&client_id=lf12&username=lf12_test_user&password=secret
|
||||
|
||||
> {% client.global.set("token", response.body.access_token); %}
|
1
backend/requests/healthCheck.http
Normal file
1
backend/requests/healthCheck.http
Normal file
|
@ -0,0 +1 @@
|
|||
GET localhost:8080/health
|
Reference in a new issue