Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger integration #21

Open
IamDeshRaj opened this issue Dec 24, 2019 · 1 comment
Open

Swagger integration #21

IamDeshRaj opened this issue Dec 24, 2019 · 1 comment

Comments

@IamDeshRaj
Copy link

Hi,
I'm trying to integrate swagger with this implementation but its not working.
I have added following dependecies

io.springfox
springfox-swagger-ui
2.9.2


io.springfox
springfox-swagger2
2.9.2


io.swagger
swagger-jersey2-jaxrs
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

@kambleaa007
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants