[java-idp-oidc] branch main updated: JOIDC-21 - Use token authentication for OIDC dynamic client registration

Henri Mikkonen henri.mikkonen at iki.fi
Fri Mar 4 13:31:55 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=daad480f2c9f187bbac8ed650fc818d67911f2b3

The following commit(s) were added to refs/heads/main by this push:
     new daad480f JOIDC-21 - Use token authentication for OIDC dynamic client registration
daad480f is described below

commit daad480f2c9f187bbac8ed650fc818d67911f2b3
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Fri Mar 4 15:31:24 2022 +0200

    JOIDC-21 - Use token authentication for OIDC dynamic client registration
    
    https://shibboleth.atlassian.net/browse/JOIDC-21
    
    Initial version of the CLI tool.
---
 .../net/shibboleth/idp/plugin/oidc/op/bin/issue-access-token.bat  | 4 ++++
 .../net/shibboleth/idp/plugin/oidc/op/bin/issue-access-token.sh   | 8 ++++++++
 .../resources/net/shibboleth/idp/plugin/oidc/op/module.properties | 7 +++++++
 3 files changed, 19 insertions(+)

diff --git a/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/issue-access-token.bat b/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/issue-access-token.bat
new file mode 100644
index 00000000..90e90c00
--- /dev/null
+++ b/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/issue-access-token.bat
@@ -0,0 +1,4 @@
+ at echo off
+setlocal
+
+"%~dp0\runclass.bat" -Dnet.shibboleth.idp.cli.arguments=net.shibboleth.idp.plugin.oidc.op.cli.IssueRegistrationAccessTokenArguments net.shibboleth.idp.cli.CLI %*
\ No newline at end of file
diff --git a/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/issue-access-token.sh b/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/issue-access-token.sh
new file mode 100644
index 00000000..2f5d7e48
--- /dev/null
+++ b/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/issue-access-token.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+declare LOCATION
+
+LOCATION=$(dirname $0)
+
+$LOCATION/runclass.sh -Dnet.shibboleth.idp.cli.arguments=net.shibboleth.idp.plugin.oidc.op.cli.IssueRegistrationAccessTokenArguments \
+    net.shibboleth.idp.cli.CLI "$@"
\ No newline at end of file
diff --git a/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/module.properties b/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/module.properties
index 863afba1..3a33d686 100644
--- a/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/module.properties
+++ b/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/module.properties
@@ -45,4 +45,11 @@ idp.oidc.OP.9.dest = bin/jwtgen.bat
 idp.oidc.OP.10.src = /net/shibboleth/idp/plugin/oidc/op/bin/lib/json-web-key-generator-0.8.2-jar-with-dependencies.jar
 idp.oidc.OP.10.dest = bin/lib/json-web-key-generator-0.8.2-jar-with-dependencies.jar
 
+idp.oidc.OP.11.src = /net/shibboleth/idp/plugin/oidc/op/bin/issue-access-token.sh
+idp.oidc.OP.11.dest = bin/issue-access-token.sh
+idp.oidc.OP.11.exec = true
+
+idp.oidc.OP.12.src = /net/shibboleth/idp/plugin/oidc/op/bin/issue-access-token.bat
+idp.oidc.OP.12.dest = bin/issue-access-token.bat
+
 idp.oidc.OP.postenable = See documentation for additional instructions to enable the OP module.
\ No newline at end of file

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


More information about the commits mailing list