spring-boot-react-oauth2-social-login-demo icon indicating copy to clipboard operation
spring-boot-react-oauth2-social-login-demo copied to clipboard

Swagger integration

Open IamDeshRaj opened this issue 4 years ago • 1 comments

Hi, I'm trying to integrate swagger with this implementation but its not working. I have added following dependecies <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> 2.9.2 <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> 2.9.2 <groupId>io.swagger</groupId> <artifactId>swagger-jersey2-jaxrs</artifactId> 1.5.8

Along with it I have permitAll to following matcher .antMatchers(AUTH_LIST).permitAll(); private static final String[] AUTH_LIST = { // "/api/v2/api-docs*", // "/v2/api-docs*", // "/configuration/ui*", // "/swagger-resources*", // "/configuration/security*", // "/swagger-ui.html*", // "/webjars/**" // };

But I'm getting exception org.springframework.security.authentication.InsufficientAuthenticationException: Full authentication is required to access this resource

IamDeshRaj avatar Dec 24 '19 12:12 IamDeshRaj

just have patience, i will take look into it, i have done similar stuff before...

kambleaa007 avatar Jan 01 '20 19:01 kambleaa007