[java-idp-plugin-webauthn] branch main updated: Add meta-refresh tag with a 5 minute refresh
Phil Smart
philip.smart at jisc.ac.uk
Tue Apr 30 16:11:47 UTC 2024
This is an automated email from the git hooks/post-receive script.
philsmart pushed a commit to branch main
in repository java-idp-plugin-webauthn.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-webauthn.git;a=commit;h=322d641a7ef78991f8fe4714c2e6d85e3f0b77d8
The following commit(s) were added to refs/heads/main by this push:
new 322d641 Add meta-refresh tag with a 5 minute refresh
322d641 is described below
commit 322d641a7ef78991f8fe4714c2e6d85e3f0b77d8
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Tue Apr 30 17:11:44 2024 +0100
Add meta-refresh tag with a 5 minute refresh
- Will redirect to the finish end-state
---
.../src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml | 2 +-
.../shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn.properties | 2 +-
.../shibboleth/idp/plugin/authn/webauthn/views/webauthn-management.vm | 1 +
.../net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm | 1 +
4 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/webauthn-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml b/webauthn-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
index 5537a70..d6725f1 100644
--- a/webauthn-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
+++ b/webauthn-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
@@ -50,7 +50,7 @@
p:policyName="%{idp.authn.webauthn.admin.registration.accessPolicy:AccessByAnyone}"
p:nonBrowserSupported="false"
p:authenticated="%{idp.authn.webauthn.admin.registration.authenticated:true}"
- p:resolveAttributes="%{idp.authn.webauthn.admin.registration.resolveAttributes:false}">
+ p:resolveAttributes="%{idp.authn.webauthn.admin.registration.resolveAttributes:true}">
<property name="authenticationFlows">
<bean parent="shibboleth.CommaDelimStringArray"
c:_0="#{'%{idp.authn.webauthn.admin.registration.authenticationFlows:}'.trim()}" />
diff --git a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn.properties b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn.properties
index 9e2511f..406450c 100644
--- a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn.properties
+++ b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn.properties
@@ -42,7 +42,7 @@ idp.authn.webauthn.supportedPrincipals = \
#idp.authn.webauthn.admin.registration.accessPolicy = AccessByAnyone
# Restrict the usable authentication flows
#idp.authn.webauthn.admin.registration.authenticationFlows =
-# Should user.id and display name be resolve from the attribute resolver? else the user.id will be generated by the plugin
+# Should user.id and display name be resolve from the attribute resolver?
#idp.authn.webauthn.admin.registration.resolveIdentityAttributes = true;
# The bean name of the user.id generator or lookup strategy
diff --git a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-management.vm b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-management.vm
index 90d6b5f..be0d962 100644
--- a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-management.vm
+++ b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-management.vm
@@ -24,6 +24,7 @@
<title>#springMessageText("idp.title", "Web Login Service")</title>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta http-equiv="refresh" content="300;url=$flowExecutionUrl&_eventId=finish#parse("csrf/csrf-qparam.vm")">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0">
<script type="text/javascript" src="$request.getContextPath()/js/webauthn/webauthn-support.js"></script>
<link rel="stylesheet" type="text/css" href="$request.getContextPath()#springMessageText("idp.css", "/css/placeholder.css" )">
diff --git a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm
index c2981d4..5f3ef40 100644
--- a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm
+++ b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm
@@ -24,6 +24,7 @@
<title>#springMessageText("idp.title", "Web Login Service")</title>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta http-equiv="refresh" content="300;url=$flowExecutionUrl&_eventId=finish#parse("csrf/csrf-qparam.vm")">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0">
<script type="text/javascript" src="$request.getContextPath()/js/webauthn/webauthn-support.js"></script>
<link rel="stylesheet" type="text/css" href="$request.getContextPath()#springMessageText("idp.css", "/css/placeholder.css" )">
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list