There was an error while loading. Please reload this page.
1 parent 37b9acd commit 2d2cf57Copy full SHA for 2d2cf57
openid-connect-server-webapp/src/main/webapp/resources/template/client.html
@@ -72,7 +72,7 @@
72
var uri = $.url(client.redirectUris[i]);
73
if (!uri.attr('protocol')) {
74
%><b class="text-error" title="unknown protocol scheme">?</b><%
75
-} else if (uri.attr('protocol') == 'http' && uri.attr('host') != 'localhost') {
+} else if (uri.attr('protocol') == 'http' && (uri.attr('host') != 'localhost' && uri.attr('host') != '127.0.0.1')) {
76
%><b class="text-error"><%- uri.attr('protocol') %></b>://<%
77
} else if (uri.attr('protocol') != 'https' && uri.attr('protocol') != 'http') {
78
%><span class="text-warning"><%- uri.attr('protocol') %></span>://<%
0 commit comments