File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,6 @@ 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>
68
64
<dependency>
69
65
<groupId>io.quarkus</groupId>
70
66
<artifactId>quarkus-smallrye-openapi</artifactId>
@@ -85,6 +81,10 @@ SPDX-License-Identifier: Apache-2.0
85
81
<groupId>io.quarkus</groupId>
86
82
<artifactId>quarkus-hibernate-validator</artifactId>
87
83
</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</artifactId>
107
+ <artifactId>quarkus-test-security-oidc </artifactId>
108
108
<scope>test</scope>
109
109
</dependency>
110
110
<dependency>
Original file line number Diff line number Diff line change @@ -22,11 +22,10 @@ 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
- # Smallrye JWT Properties (Microprofile)
26
- smallrye.jwt.verify.key.location = ${JWT_VERIFY_KEY:http://localhost:8089/auth/realms/compas/protocol/openid-connect/certs}
27
- smallrye.jwt.path.groups = ${JWT_GROUPS_PATH:resource_access/scl-data-service/roles}
28
- mp.jwt.verify.issuer = ${JWT_VERIFY_ISSUER:http://localhost:8089/auth/realms/compas}
29
- mp.jwt.verify.audiences = ${JWT_VERIFY_CLIENT_ID:scl-data-service}
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
30
29
31
30
quarkus.http.auth.permission.deny-default.paths=/*
32
31
quarkus.http.auth.permission.deny-default.policy=deny
You can’t perform that action at this time.
0 commit comments