Skip to content

Commit

Permalink
@permitAll added.
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniotarricone committed May 29, 2024
1 parent 4262cf3 commit 4f14ec2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import it.pagopa.swclient.mil.auth.AuthErrorCode;
import it.pagopa.swclient.mil.auth.service.KeyFinder;
import it.pagopa.swclient.mil.bean.Errors;
import jakarta.annotation.security.PermitAll;
import jakarta.inject.Inject;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.InternalServerErrorException;
Expand All @@ -31,6 +32,7 @@
* @author Antonio Tarricone
*/
@Path("/.well-known/jwks.json")
@PermitAll
public class JwksResource {
/*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import io.smallrye.mutiny.Uni;
import it.pagopa.swclient.mil.auth.bean.OpenIdConf;
import jakarta.annotation.security.PermitAll;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
Expand All @@ -20,6 +21,7 @@
* @author Antonio Tarricone
*/
@Path("/.well-known/openid-configuration")
@PermitAll
public class OpenIdConfResource {
/*
* mil-auth base URL.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import it.pagopa.swclient.mil.auth.util.AuthError;
import it.pagopa.swclient.mil.auth.util.AuthException;
import it.pagopa.swclient.mil.bean.Errors;
import jakarta.annotation.security.PermitAll;
import jakarta.enterprise.inject.Any;
import jakarta.enterprise.inject.Instance;
import jakarta.enterprise.util.AnnotationLiteral;
Expand All @@ -44,6 +45,7 @@
*/
@SuppressWarnings("serial")
@Path("/token")
@PermitAll
public class TokenResource {
/*
*
Expand Down

0 comments on commit 4f14ec2

Please sign in to comment.