Skip to content

hkurosu/oidc1-on-secoauth2

Repository files navigation

oidc1-on-secoauth2

Extends Spring Security OAuth2 to suport OpenID Connect (OIDC) 1.0. tonr/sparklr samples from SECOAUTH2 to work with ODIC.

This project is inspired by MITREid Connect and Nimbus OAuth 2.0 SDK w/ OpenID Connect, borrowed a lot of idea from them.

Getting Started

Spring framework dependencies

  1. spring-* : 3.2.8.RELEASE
  2. spring-security : 3.2.3.RELEASE
  3. spring-security-oauth2 : 2.0.1.RELEASE

Build samples applications (command line)

"mvn package" in oidc1-on-secoauth2 directory will create three war files (tonr, sparklr, keyhole).

Run in eclipse

  • Import tonr, sparklr, keyhole and oidc-* projects with "Existing Maven projects" (Import -> Maven)
  • If necessary, change the "authServerUri" property in odic.properties.

Now you can deploy all 3 apps (tonr2, sparklr2, keyhole2) into your Servers environment!

OIDC features

Supported:

(2014-06-26)

(2014-06-19)

Working (Hopfully support soon):

  • ID Token Validation (Section 3.1.3.7)
  • Signed/Encrypted JWT
  • UserInfo (/userinfo) endpoint and claims (Section 5)

Not Yet Supported:

Next step

See this document how these sample apps works: OAuth2 Single Sign On with spring-security-oauth2

About

Sample OIDC (OpenID Connect) on the top of Spring Security OAUTH2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published