[java-idp-oidc] branch main updated: Refer to idp.oauth2.accessToken.type in AbstractMDDrivenOIDCSSOProfile.

Henri Mikkonen henri.mikkonen at iki.fi
Wed Oct 26 15:02:05 UTC 2022


This is an automated email from the git hooks/post-receive script.

hjmikkon pushed a commit to branch main
in repository java-idp-oidc.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=01149f035990af12b1acc99a3ee196f28edcb7c0

The following commit(s) were added to refs/heads/main by this push:
     new 01149f03 Refer to idp.oauth2.accessToken.type in AbstractMDDrivenOIDCSSOProfile.
01149f03 is described below

commit 01149f035990af12b1acc99a3ee196f28edcb7c0
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Wed Oct 26 17:58:45 2022 +0300

    Refer to idp.oauth2.accessToken.type in AbstractMDDrivenOIDCSSOProfile.
    
    A single (abstract) profile configuration bean was accidentally referring to
    idp.oidc.accessToken.type -property, as all the other configuration beans
    refer to idp.oauth2.accessToken.type. The oauth2 one is the correct one: it's
    documented in Wiki and referred in the example .properties file.
    
    The reference to idp.oidc.accessToken.type was kept for ensuring compatibility
    with the existing deployments, but it should be considered as deprecated.
---
 .../META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
index 9cfe688b..fc1e5e10 100644
--- a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
+++ b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
@@ -221,7 +221,7 @@
         </property>
         <property name="accessTokenTypeLookupStrategy">
             <bean parent="shibboleth.MDDrivenStringProperty" p:propertyName="accessTokenType"
-                p:defaultValue="%{idp.oidc.accessToken.type:}" />
+                p:defaultValue="%{idp.oidc.accessToken.type:%{idp.oauth2.accessToken.type:}}" />
         </property>
         <property name="accessTokenLifetimeLookupStrategy">
             <bean parent="shibboleth.MDDrivenDurationProperty" p:propertyName="accessTokenLifetime"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list