Commit Graph

24 Commits (bcec2bbb58015f2444c2ef54a5c8efea495e579e)

Author SHA1 Message Date
Madhura Bhave 3cc441c83e Do not remove trailing slash from OAuth2 Issuer URI
Fixes gh-15324
6 years ago
Phillip Webb df16349725 Rename oauth2-oidc-client starter in sample
Fixup sample POM following rename of the oauth2-oidc-client starter.

See gh-14951
6 years ago
Madhura Bhave daa3d457b7 Revert OAuth2 Client Registration Grant Type Hierarchy
Closes gh-14554
6 years ago
Madhura Bhave ae413c718d Reinstate placeholders 6 years ago
Madhura Bhave a33e58fc45 Deprecate OAuth2 login redirect-uri-template
This property is deprecated in favor of
`spring.security.oauth2.client.registration.login.*.redirect-uri

Closes gh-14226
6 years ago
Madhura Bhave f5deebf0cb Support authorization_code grant for OAuth2 client
This commit also refactors OAuth2 client properties. With
the added support for authorization_code clients, client
registrations are now divided into `login` and `authorization_code`.
An environment post processor is used for backward compatibility with
old Open ID Connect login clients.

Closes gh-13812
6 years ago
Johnny Lim c95b339f02 Polish
Closes gh-14149
6 years ago
Madhura Bhave 09e09bf430 Add starter for OpenID Connect/OAuth2 client
Closes gh-13830
6 years ago
Andy Wilkinson 0ba6d8da4a Switch to Yahoo for OIDC as Google's cert is not yet trusted by Java 11
Until the fix for JDK-8209506 [1] is available in Java 11 builds,
SSL connections to services using Google's SSL certificate do not work
due to a lack of trust. This affects both our OAuth2 client samples
which were using https://accounts.google.com as an OpenID Connect
provider.

This commit switches the two samples to use Yahoo in place of Google.

See gh-14028

[1] https://bugs.openjdk.java.net/browse/JDK-8209506
6 years ago
Stephane Nicoll 4e01eb865b Polish
See gh-13210
6 years ago
Madhura Bhave f88ebc06ff Add support for OIDC Configuration Provider
Closes gh-13210
6 years ago
Phillip Webb 21d80d87a3 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 23218add90 Polish 7 years ago
Madhura Bhave 4a41c02926 Update redirect-uri-template in oauth sample and docs
Fixes gh-11014
7 years ago
Ivan Sopov d8fa71bc97 Samples cleanup
- Modifying dependencies to starter-web with tomcat exclusion plus
  alternative servlet container instead of manual dependency on
  spring-webmvc as it is the preferrable way to use alternative servlet
  container
- Previously RestTemplate with ssl was configured manually in tests - now
  it rellies on autoconfiguration - changed this for multi-connector test
  and added test to ensure that ssl autoconfiguration is working
- Most samples with alterntative servlet containers used some kind of
  service reading property and returning default since it wasn't
  configured - removed it, since it is not specific to using alternative
  servlet containers.

See gh-10548
7 years ago
Phillip Webb c55b5d7111 Polish 7 years ago
Andy Wilkinson 90ecb29667 Align with spring-security-jwt-jose being renamed to s-s-auth2-jose
Closes gh-10750
7 years ago
Madhura Bhave 80b5da78a1 Fix test failures 7 years ago
Phillip Webb 748e0779b6 Update copyright year for changed files 7 years ago
Madhura Bhave ab8aa6bb6c Add README for OAuth2 client sample 7 years ago
Phillip Webb 2855010841 Fix sample POMs
Update sample POMs to follow CI friendly Maven conventions.

See gh-9316
7 years ago
Phillip Webb 9192444c31 Polish 7 years ago
Madhura Bhave 9f1ed197d2 Update sample with placeholders for oauth client 7 years ago
Madhura Bhave dbe1d9608d Add auto-config for spring-security-oauth2-client
Closes gh-10497
7 years ago