|
|
@ -115,7 +115,7 @@ public class TokenController extends PathHandler { |
|
|
|
var user = optUser.get(); |
|
|
|
var user = optUser.get(); |
|
|
|
|
|
|
|
|
|
|
|
var accessToken = users.accessToken(user); |
|
|
|
var accessToken = users.accessToken(user); |
|
|
|
var issuer = "https://"+hostname(ex); |
|
|
|
var issuer = hostname(ex); |
|
|
|
String jwToken = createJWT(client, user, accessToken, issuer); |
|
|
|
String jwToken = createJWT(client, user, accessToken, issuer); |
|
|
|
ex.getResponseHeaders().add("Cache-Control", "no-store"); |
|
|
|
ex.getResponseHeaders().add("Cache-Control", "no-store"); |
|
|
|
JSONObject response = new JSONObject(); |
|
|
|
JSONObject response = new JSONObject(); |
|
|
|