Browse Source

gui improvements

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
main
Stephan Richter 1 month ago
parent
commit
833fa3daf0
  1. 2
      de.srsoftware.http/src/main/java/de/srsoftware/http/PathHandler.java
  2. 4
      de.srsoftware.oidc.web/src/main/resources/de/navigation.html
  3. 8
      de.srsoftware.oidc.web/src/main/resources/en/authorization.html
  4. 2
      de.srsoftware.oidc.web/src/main/resources/en/navigation.html

2
de.srsoftware.http/src/main/java/de/srsoftware/http/PathHandler.java

@ -81,7 +81,7 @@ public abstract class PathHandler implements HttpHandler { @@ -81,7 +81,7 @@ public abstract class PathHandler implements HttpHandler {
case POST -> doPost(path,ex);
default -> false;
};
ex.getResponseBody().close();
ex.getResponseBody().close();
}
public String relativePath(HttpExchange ex) {

4
de.srsoftware.oidc.web/src/main/resources/de/navigation.html

@ -2,6 +2,6 @@ @@ -2,6 +2,6 @@
<a href="clients.html" class="MANAGE_CLIENTS">Clients</a>
<a href="users.html" class="MANAGE_USERS">Benutzer</a>
<a href="settings.html">Einstellungen</a>
<a href="todo.html">TODO</a>
<a href="https://openid.net/specs/openid-connect-core-1_0.html" target="_blank">Spec</a>
<a href="todo.html" class="MANAGE_CLIENTS" >TODO</a>
<a href="https://openid.net/specs/openid-connect-core-1_0.html" class="MANAGE_CLIENTS" target="_blank">Spec</a>
<a href="logout.html">Abmelden</a>

8
de.srsoftware.oidc.web/src/main/resources/en/authorization.html

@ -22,19 +22,19 @@ @@ -22,19 +22,19 @@
<button type="button" onclick="grantAutorization(365)">Yes - for 1 year</button>
<button type="button" onclick="denyAutorization()">No</button>
</div>
<div id="error_missing_parameter" class="error">
<div id="error_missing_parameter" class="error" style="display: none">
Request does not contain required parameter "<span id="parameter"></span>"!
</div>
<div id="error_unknown_client" class="error">
<div id="error_unknown_client" class="error" style="display: none">
Client "<span id="client_id"></span>" unknown to backend!
</div>
<div id="error_unsupported_response_type" class="error">
<div id="error_unsupported_response_type" class="error" style="display: none">
Response type "<span id="response_type"></span>" not supported!
</div>
<div id="error_missing_code" class="error">
Missing response type: code
</div>
<div id="error_invalid_redirect" class="error">
<div id="error_invalid_redirect" class="error" style="display: none">
invalid redirect: <span id="redirect_uri"></span>
</div>
<div id="missing_scopes" class="error" style="display: none">Authorization resource contained neither list of <em>unauthorized scopes</em> nor list of <em>authorized scopes</em>! This is a server problem.</div>

2
de.srsoftware.oidc.web/src/main/resources/en/navigation.html

@ -2,6 +2,6 @@ @@ -2,6 +2,6 @@
<a href="clients.html" class="MANAGE_CLIENTS">Clients</a>
<a href="users.html" class="MANAGE_USERS">Users</a>
<a href="settings.html">Settings</a>
<a href="todo.html">TODO</a>
<a href="todo.html" class="MANAGE_CLIENTS">TODO</a>
<a href="https://openid.net/specs/openid-connect-core-1_0.html" target="_blank">Spec</a>
<a href="logout.html">Logout</a>

Loading…
Cancel
Save