eh3rrera / graphql-java-spring-boot-example

Sample GraphQL server implemented with graphql-java and Spring Boot
MIT License
211 stars 151 forks source link

Forbidden error in graphiQL tool #20

Open ddash357 opened 3 years ago

ddash357 commented 3 years ago

Hi, Facing one issue when I am querying through graphiql tool.Same error when I am hitting rest endpoint in postman: { “timestamp”: “2021-03-23T21:06:41.333+00:00”, “status”: 403, “error”: “Forbidden”, “message”: “”, “path”: “/graphql” }

dependencies: compile "com.graphql-java:graphql-spring-boot-starter:5.0.2" compile "com.graphql-java:graphql-java-tools:5.2.4" compile "com.graphql-java:graphiql-spring-boot-starter:5.0.2" compile 'com.googlecode.json-simple:json-simple:1.1.1' compile "org.springframework.cloud:spring-cloud-config-client:1.2.2.RELEASE" compile "com.oracle.jdbc:ojdbc8:12.2.0.1"

eh3rrera commented 3 years ago

Hi @ddash357,

It seems like you upgraded the dependencies and the code is not compatible with the new versions. Some changes may be required to make it work, but I haven't updated the project and the tutorial, I'm sorry, it's not on my list of priorities right now.