8000 Support OIDC extended claims by mmoayyed · Pull Request #1785 · apereo/cas · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Support OIDC extended claims #1785

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 13 commits into from
May 23, 2016
Merged

Support OIDC extended claims #1785

merged 13 commits into from
May 23, 2016

Conversation

mmoayyed
Copy link
Member

Closes #1773

What

This patch adds support for the following OIDC claims:

  • auth_time
  • max_age
  • prompt [none, consent, login]

The "confirm" view is also revamped to match the new CAS thymeleaf look and feel.

In conjunction with adding support for max_age, fixed a bug related to tracking the authentication date in particular when CAS attempts to reuse the same TGT.

amr/acr claims are yet to be supported.

No change to the docs needed. All behavior is controlled and configured internally.

How

Briefly, the OIDC module takes advantage of conditional bean configuration to build on top of the OAuth module. The beans override and inject themselves into the context where and when necessary to handle consent, and managing callback urls.

@mmoayyed
Copy link
Member Author

Going to let the pull hang for a while and make nice with Travis.

@mmoayyed mmoayyed changed the title Oidc extended claims Support OIDC extended claims May 20, 2016
# Conflicts:
#	cas-server-webapp/build.gradle
# Conflicts:
#	cas-server-support-cookie/src/main/java/org/apereo/cas/web/support/CookieRetrievingCookieGenerator.java
# Conflicts:
#	cas-server-support-cookie/src/main/java/org/apereo/cas/web/support/CookieRetrievingCookieGenerator.java
@mmoayyed mmoayyed merged commit 27fe5a1 into apereo:master May 23, 2016
@mmoayyed mmoayyed deleted the oidc-extended-claims branch May 23, 2016 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0