Skip to content

Add WebClient Bearer token support #5389

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 May 25, 2018 · 1 comment
Closed

Add WebClient Bearer token support #5389

rwinch opened this issue May 25, 2018 · 1 comment
Assignees
Labels
in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement
Milestone

Comments

@rwinch
Copy link
Member

rwinch commented May 25, 2018

Summary

Simplify setting a Bearer token when using WebClient. User's should be able to add the header like:

this.webClient
    .get()
    .headers(bearerToken(token))
    // ...
@rwinch rwinch added in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement Reactive labels May 25, 2018
@rwinch rwinch added this to the 5.1.0.M2 milestone May 25, 2018
@rwinch rwinch self-assigned this May 25, 2018
@rwinch rwinch closed this as completed in b3ca598 May 25, 2018
@rwinch
Copy link
Member Author

rwinch commented Jul 30, 2018

This has been removed in favor of Spring's new build in support as a part of #5612.

.headers(headers -> headers.setBearerAuth(token))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant