Skip to content

Commit

Permalink
fix: accept consent
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Sep 20, 2024
1 parent 5aa95fe commit 64dc34c
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@ protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws IO
String rsub = InputParser.parseStringOrThrowError(input, "rsub", false);
String sessionHandle = InputParser.parseStringOrThrowError(input, "sessionHandle", false);

JsonObject session = new JsonObject();
session.addProperty("iss", iss);
session.addProperty("tId", tId);
session.addProperty("rsub", rsub);
session.addProperty("sessionHandle", sessionHandle);
JsonObject accessToken = new JsonObject();
accessToken.addProperty("iss", iss);
accessToken.addProperty("tId", tId);
accessToken.addProperty("rsub", rsub);
accessToken.addProperty("sessionHandle", sessionHandle);

JsonObject session = new JsonObject();
session.add("access_token", accessToken);
input.add("session", session);

try {
Expand Down

0 comments on commit 64dc34c

Please sign in to comment.