adjusted vault config

This commit is contained in:
Sebastian Stenzel
2021-08-24 12:39:29 +02:00
parent fa86d890fe
commit 056990151a
3 changed files with 6 additions and 6 deletions

View File

@@ -87,9 +87,9 @@ class AuthFlowReceiver implements AutoCloseable {
res.setStatus(HttpServletResponse.SC_MOVED_TEMPORARILY);
if (error == null && code != null) {
res.setHeader("Location", hubConfig.unlockSuccessUrl);
res.setHeader("Location", hubConfig.authSuccessUrl);
} else {
res.setHeader("Location", hubConfig.unlockErrorUrl);
res.setHeader("Location", hubConfig.authErrorUrl);
}
callback.add(new Callback(error, code, state));

View File

@@ -7,7 +7,7 @@ public class HubConfig {
public String authEndpoint;
public String tokenEndpoint;
public String deviceRegistrationUrl;
public String unlockSuccessUrl;
public String unlockErrorUrl;
public String authSuccessUrl;
public String authErrorUrl;
}