Graphiql not working due of security – Spring for GraphQL

Graphiql not working due of security – Spring for GraphQL


0

I’m trying to use graphiql UI but due of Spring Security, I receive 401.

What’s the way to keep /graphql endpoint secured but let /graphiql request to graphql endpoint?

I’m on Spring Boot 3.1.4 and Spring For Graphql 1.2.3

If I permitall /graphql it works but I loss security. I Tried also to put /vendor/** in permitAll but no luck.


Load 6 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *