Rob Winch
45cbdc03ba
Remove Thymeleaf dependency management
...
Fixes: gh-6161
7 years ago
Daniel Bustamante Ospina
8655caa2de
Update webflux-form sample to use Built in CSRF Support
...
Remove the CsrfControllerAdvice class and update dependencies to add
org.thymeleaf.extras:thymeleaf-extras-springsecurity5
Issue: gh-6061
7 years ago
Rafael Dominguez
35e05780ea
Updated Spring Boot version from 2.1.0.M4 to 2.1.0.RELEASE
7 years ago
Joe Grandja
91f6888e9f
Remove OAuth2AuthorizedClientRepository @Bean from OAuth2LoginApplication
...
Fixes gh-5546
7 years ago
Josh Cummings
b3d33708d1
JAXB for Authorization Server Sample
...
For Java 9+ compatibility
Issue: gh-5833
7 years ago
Josh Cummings
17dd95d525
Polish Authorization Server Sample
...
Change primary user's username to "subject" to align with
oauth2resourceserver sample.
7 years ago
Josh Cummings
f2140dd5f5
Authorization Server Sample
...
A simple Authorization Server sample based off of the Legacy
Authorization Server project, spring-security-oauth2.
This project is mostly useful as a utility for other samples whose
usage would be clearer if an Authorization Server were introduced.
Note that this server is a barebones OAuth 2.0 Authorization Server
configuration, but is still useful for understanding how to set up an
Authorization Server using spring-security-oauth2.
Fixes: gh-5833
7 years ago
Rob Winch
c21b2f31c6
Polish resourceserver samples
...
- Use ${mockserver.url} instead of mock://
- Consistency between reactive/imperative samples
Fixes: gh-5844
7 years ago
Rob Winch
f68141d42a
Update to Spring Boot 2.1.0.M3
...
Fixes: gh-5843
7 years ago
Rob Winch
2495025845
authcodegrant samples->oauth2webclient samples
...
The authcodegrant samples were initially meant to be very simple
demonstration of authorization code flow. However, it has become
obvious since then that the real intent of the demo is how to use
the WebClient with OAuth (there is no other reason to do authorization
code flow unless you use the token to make a request).
The samples have been migrated to oauth2webclient and oauth2webclient-webflux
respectively. They have been improved:
* The sample demonstrates usage with annotations, webclient directly, form login
oauth2Login, and public APIs
* The samples externalize the endpoint that is requested in the sample
making it easier to try other endpoints
* The UI no longer relies on a data structure for the result of the
endpoint also making it easier to try other endpoints
Issue: gh-4921
7 years ago
Rob Winch
158b8aa6d5
ServerOAuth2AuthorizedClientExchangeFilterFunction clientRegistrationId
...
Issue: gh-4921
7 years ago
Joe Grandja
d7bd5c0acc
Remove spring.factories from oauth2login-webflux sample
...
Fixes gh-5723
8 years ago
Joe Grandja
ff6e1232c8
Flatten HttpSecurity.oauth2()
...
Fixes gh-5715
8 years ago
Joe Grandja
0f89e59707
Simplified oauth2().client() DSL
...
Fixes gh-5662
8 years ago
Rob Winch
0dc80aed40
Flatten ServerHttpSecurity.oauth2()
...
Fixes: gh-5712
8 years ago
Rob Winch
7c5c274854
Add authcodegrant-webflux sample
...
Issue: gh-5620
8 years ago
Rob Winch
afa2d9cbc7
Remove ExchangeFilterFunctions
...
Issue: gh-5612
8 years ago
Rob Winch
262c1a77c6
Remove SecurityHeaders
...
We no longer need this since Spring Framework now provides
HttpHeaders.setBearerAuth
Issue: gh-5612
8 years ago
Rob Winch
c26d7dc859
Update to Spring Boot 2.1.0.M1
...
Fixes: gh-5613
8 years ago
Rob Winch
dd1fa7f709
Add Sample
...
Issue: gh-5605
8 years ago
Rob Winch
9ababf4168
Rename to ServerOAuth2AuthorizedClientExchangeFilterFunction
...
Rename OAuth2AuthorizedClientExchangeFilterFunction to
ServerOAuth2AuthorizedClientExchangeFilterFunction->
Issue: gh-5386
8 years ago
Joe Grandja
9a144d742e
Use OAuth2AuthorizedClientRepository in filters and resolver
...
Fixes gh-5544
8 years ago
Josh Cummings
40ccdb93f7
Resource Server Jwt Support
...
Introducing initial support for Jwt-Encoded Bearer Token authorization
with remote JWK set signature verification.
High-level features include:
- Accepting bearer tokens as headers and form or query parameters
- Verifying signatures from a remote Jwk set
And:
- A DSL for easy configuration
- A sample to demonstrate usage
Fixes: gh-5128
Fixes: gh-5125
Fixes: gh-5121
Fixes: gh-5130
Fixes: gh-5226
Fixes: gh-5237
8 years ago
Joe Grandja
779597af2a
Add support for custom authorization request parameters
...
Fixes gh-4911
8 years ago
Rob Winch
05ed028f9d
Modernize Default Log In Page
...
Fixes: gh-5515
8 years ago
Joe Grandja
4fc6d96073
Rename @OAuth2Client to @RegisteredOAuth2AuthorizedClient
...
Fixes gh-5360
8 years ago
Joe Grandja
81e19ad85e
Move oauth2 samples under boot directory
...
Issue gh-5397
8 years ago
Rob Winch
a9e6d7606e
Update WebFlux samples to use Spring Boot
...
Fixes: gh-5411
8 years ago
Joe Grandja
de95583509
Move oauth2login samples under oauth2 directory
...
Fixes gh-5397
8 years ago
Joe Grandja
f9f74b1bfc
Simplify oauth2login-webflux sample
...
Fixes gh-5396
8 years ago
Joe Grandja
6c13e18483
Simplify oauth2login sample
...
Fixes gh-5384
8 years ago
Rob Winch
ecf6caa896
Add missing @Configuration for WebClientConfig
...
Issue: gh-5388
8 years ago
Rob Winch
68117d7b0b
Samples use OAuth2AuthorizedClientExchangeFilterFunction
...
Issue: gh-5386
8 years ago
Rob Winch
bc3467c118
Add oauth2login-webflux sample
...
Issue: gh-4807
8 years ago
Joe Grandja
526e0fdd4f
Add OAuth2 Client HandlerMethodArgumentResolver
...
Fixes gh-4651
8 years ago
Joe Grandja
982fc360b2
Add support for authorization_code grant
...
Fixes gh-4928
8 years ago
Joe Grandja
59cef7d339
HttpSessionOAuth2AuthorizationRequestRepository handle multiple OAuth2AuthorizationRequest per session
...
Fixes gh-5110
8 years ago
Joe Grandja
0c708976c6
Update oauth2Login sample to use master
...
Fixes gh-4910
8 years ago
Joe Grandja
86824030f2
Update oauth2Login sample guide
...
Fixes gh-4858
8 years ago
Johnny Lim
701933c7f7
Fix copyright start years
...
See gh-4655
See gh-4725
8 years ago
Joe Grandja
4039cd285e
oauth2Login sample depends on security RC1
...
Fixes gh-4828
8 years ago
Joe Grandja
0d33864b5a
Remove redundant 'provider' property from oauth2Login sample config
...
Fixes gh-4817
8 years ago
Joe Grandja
3661cb58d6
Polish oauth2Login sample integration test
...
Fixes gh-4811
8 years ago
Joe Grandja
1dac191b19
Remove custom security config from oauth2Login sample
...
Fixes gh-4808
8 years ago
Joe Grandja
cd9e712117
Remove GlobalAuthenticationConfigurerAdapter from oauth2Login sample
...
Fixes gh-4665
8 years ago
Rob Winch
f1245059ff
Consistent Thymeleaf Version in Boot Samples
...
Issue gh-4802
8 years ago
Joe Grandja
a261c9a047
Polish OAuth2LoginConfigurer
...
Fixes gh-4747
8 years ago
Joe Grandja
c3d2effc1d
Polish OAuth2AuthorizedClientService
...
Fixes gh-4746
8 years ago
Joe Grandja
e4887057bc
Rename AuthorizationGrantTokenExchanger -> OAuth2AccessTokenResponseClient
...
Fixes gh-4741
8 years ago
Joe Grandja
8e0d88d3e9
Remove GitHubOAuth2User from oauth2Login sample
...
Fixes gh-4732
8 years ago