Browse Source

fix demo

main
Nicolas Massé 5 years ago
parent
commit
9e76b4ca88
  1. 2
      pom.xml
  2. 11
      src/main/resources/application.properties

2
pom.xml

@ -51,7 +51,7 @@
<!-- <!--
<dependency> <dependency>
<groupId>io.quarkus</groupId> <groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-jwt</artifactId> <artifactId>quarkus-oidc</artifactId>
</dependency> </dependency>
--> -->
</dependencies> </dependencies>

11
src/main/resources/application.properties

@ -1,8 +1,3 @@
#mp.jwt.verify.publickey.location=https://SSO_HOSTNAME/auth/realms/REALM/protocol/openid-connect/certs #quarkus.oidc.auth-server-url=https://SSO_HOSTNAME/auth/realms/REALM
mp.jwt.verify.publickey.location= quarkus.oidc.auth-server-url=
quarkus.oidc.client-id=quarkus-app
#mp.jwt.verify.issuer=https://SSO_HOSTNAME/auth/realms/REALM
mp.jwt.verify.issuer=
smallrye.jwt.verify.audience=quarkus-app
smallrye.jwt.require.named-principal=true

Loading…
Cancel
Save