Skip to content

Add GraphQlTester Authorization Header Support #64

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

Closed
rwinch opened this issue Jun 22, 2021 · 0 comments
Closed

Add GraphQlTester Authorization Header Support #64

rwinch opened this issue Jun 22, 2021 · 0 comments
Assignees
Labels
in: test Issues related to the test module in: web Issues related to web handling
Milestone

Comments

@rwinch
Copy link
Member

rwinch commented Jun 22, 2021

It would be nice if GraphQlTester could support authenticating via the Authorization Header. A good place this could be validated is in https://github.com/spring-projects/spring-graphql/blob/cedb5fb40d4b3499efc37019ec7e60d89fdbb9cb/samples/webflux-security/src/test/java/io/spring/sample/graphql/SampleApplicationTests.java

@rstoyanchev rstoyanchev self-assigned this Jun 23, 2021
@rstoyanchev rstoyanchev added in: web Issues related to web handling in: test Issues related to the test module labels Jun 23, 2021
@rstoyanchev rstoyanchev added this to the 1.0 M1 milestone Jun 23, 2021
rstoyanchev added a commit that referenced this issue Jun 28, 2021
This ensures that the order in which inputs are provided, i.e. whether
taken from the base RequestSpec or the Web subtype doesn't matter.

See gh-64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues related to the test module in: web Issues related to web handling
Projects
None yet
Development

No branches or pull requests

2 participants