Skip to content

WebTestClient support now allows JWT to be injected #7002

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

Merged
merged 1 commit into from
Jun 15, 2019

Conversation

sandmannn
Copy link
Contributor

Added new implementation of jwt() method that
makes it possible to directly provide a previously
prepared JWT token to WebTestClient mutator.

Fixes: gh-6896

Added new implementation of jwt() method that
makes it possible to directly provide a previously
prepared JWT token to WebTestClient mutator.

Fixes: spring-projectsgh-6896
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 13, 2019
@jzheaux jzheaux merged commit 23a7c30 into spring-projects:master Jun 15, 2019
@jzheaux
Copy link
Contributor

jzheaux commented Jun 15, 2019

@sandmannn thanks for another PR!

It'd be great to see more contributions from you! You can check for the label "status: ideal-for-contribution" for ideas.

@jzheaux jzheaux added in: test An issue in spring-security-test status: duplicate A duplicate of another issue type: improvement and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 15, 2019
@jzheaux jzheaux self-assigned this Jun 15, 2019
@jzheaux jzheaux added this to the 5.2.0.RC1 milestone Jun 15, 2019
@rwinch rwinch changed the title Added jwt injection for reactive test mocks WebTestClient support now allows JWT to be injected Jun 18, 2019
@sandmannn sandmannn deleted the test-jwt-reactive branch November 24, 2019 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test An issue in spring-security-test status: duplicate A duplicate of another issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mock Jwt Support should accept a fully-configured Jwt
3 participants