grails / gorm-graphql

An automatic GraphQL schema generator for GORM
Apache License 2.0
80 stars 23 forks source link

Feature request: Authentication support for integration test using GraphQLSpec trait #51

Open orr3 opened 4 years ago

orr3 commented 4 years ago

Using Spring Security together with GORM GraphQL we want to be able to add authentication headers in our integration tests to validate our app security, data integrity and tenancy that has been setup with GraphQL interceptors and Spring Security configuration.

This can be done by attaching GET parameter /graphql?access_token=XXX or allowing developer to add HTTP headers to RxHttpClient.