minor improvements

This commit is contained in:
Stephan Richter
2024-07-23 10:23:28 +02:00
parent 01c79de7a8
commit bb480b0b51
3 changed files with 6 additions and 13 deletions

View File

@@ -165,10 +165,9 @@ public class Backend extends PathHandler {
}
private boolean openidConfig(HttpExchange ex) throws IOException {
var uri = ex.getRequestURI().toString();
JSONObject json = new JSONObject();
json.put("authorization_endpoint", prefix(ex) + "/web/authorization.html");
json.put("authorization_endpoint", hostname(ex) + "/web/authorization.html");
return sendContent(ex, json);
}