File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ SPDX-License-Identifier: Apache-2.0
61
61
<groupId >io.quarkus</groupId >
62
62
<artifactId >quarkus-resteasy</artifactId >
63
63
</dependency >
64
+ <dependency >
65
+ <groupId >io.quarkus</groupId >
66
+ <artifactId >quarkus-smallrye-jwt</artifactId >
67
+ </dependency >
64
68
<dependency >
65
69
<groupId >io.quarkus</groupId >
66
70
<artifactId >quarkus-smallrye-openapi</artifactId >
@@ -81,10 +85,6 @@ SPDX-License-Identifier: Apache-2.0
81
85
<groupId >io.quarkus</groupId >
82
86
<artifactId >quarkus-hibernate-validator</artifactId >
83
87
</dependency >
84
- <dependency >
85
- <groupId >io.quarkus</groupId >
86
- <artifactId >quarkus-oidc</artifactId >
87
- </dependency >
88
88
89
89
<!-- Test Dependencies -->
90
90
<dependency >
@@ -104,7 +104,7 @@ SPDX-License-Identifier: Apache-2.0
104
104
</dependency >
105
105
<dependency >
106
106
<groupId >io.quarkus</groupId >
107
- <artifactId >quarkus-test-security-oidc </artifactId >
107
+ <artifactId >quarkus-test-security</artifactId >
108
108
<scope >test</scope >
109
109
</dependency >
110
110
<dependency >
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ quarkus.http.cors = false
6
6
quarkus.http.root-path = /compas-scl-data-service/
7
7
quarkus.http.limits.max-body-size = 150M
8
8
9
- quarkus.log.level = DEBUG
10
- quarkus.log.category."org.lfenergy.compas.scl.data".level = DEBUG
9
+ quarkus.log.level = INFO
10
+ quarkus.log.category."org.lfenergy.compas.scl.data".level = INFO
11
11
12
12
# BaseX configuration
13
13
basex.host = ${BASEX_HOST:localhost}
@@ -22,10 +22,11 @@ basex.password = ${BASEX_PASSWORD:admin}
22
22
%dev.quarkus.log.level = DEBUG
23
23
%dev.quarkus.log.category."org.lfenergy.compas.scl.data".level = DEBUG
24
24
25
- # Open ID Connect
26
- quarkus.oidc.auth-server-url = ${AUTH_SERVER_URL:http://localhost:8089/auth/realms/compas}
27
- quarkus.oidc.client-id = ${AUTH_CLIENT_ID:scl-data-service}
28
- quarkus.oidc.application-type = service
25
+ # Smallrye JWT Properties (Microprofile)
26
+ smallrye.jwt.verify.key.location = ${JWT_VERIFY_KEY:http://localhost:8089/auth/realms/compas/protocol/openid-connect/certs}
27
+ mp.jwt.verify.issuer = ${JWT_VERIFY_ISSUER:http://localhost:8089/auth/realms/compas}
28
+ mp.jwt.verify.audiences = ${JWT_VERIFY_CLIENT_ID:scl-data-service}
29
+ smallrye.jwt.path.groups = ${JWT_GROUPS_PATH:resource_access/scl-data-service/roles}
29
30
30
31
quarkus.http.auth.permission.deny-default.paths =/*
31
32
quarkus.http.auth.permission.deny-default.policy =deny
You can’t perform that action at this time.
0 commit comments