Skip to content
Advertisement

quarkus and jwt token, application.properties var don’t work

I have a quarkus project I try to secure some of my endpoints with a Jwt token.

So far, it don’t work. everything is still accessible.

my application.properties:

JavaScript

it worth notting that the lines

JavaScript

are in gray in my IDE ( Intellij), and my IDE say they are not used nor by my project nor it’s dependency.

Speaking of dependency, I have this in my pom:

JavaScript

Any idea?

Advertisement

Answer

The issue was, the double “**” a simple * work just fine

quarkus.http.auth.permission.admin.paths=/api/bo/private/*

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement