Skip to content

Commit 50b5af4

Browse files
committed
debug logs
1 parent 0c499d3 commit 50b5af4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/uid2/operator/vertx/UIDOperatorVerticle.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,20 +1004,23 @@ private void handleTokenGenerateV2(RoutingContext rc) {
10041004
}
10051005

10061006
private Future handleLogoutAsyncV2(RoutingContext rc) {
1007+
LOGGER.info("handleLogoutAsyncV2 is called");
10071008
RuntimeConfig config = getConfigFromRc(rc);
10081009
IdentityEnvironment env = config.getIdentityEnvironment();
10091010

10101011
final JsonObject req = (JsonObject) rc.data().get("request");
10111012
final InputUtil.InputVal input = getTokenInputV2(req);
10121013
final String uidTraceId = rc.request().getHeader(Audit.UID_TRACE_ID_HEADER);
10131014
if (input != null && input.isValid()) {
1015+
LOGGER.info("input is valid");
10141016
final Instant now = Instant.now();
10151017

10161018
Promise promise = Promise.promise();
10171019
final String email = req == null ? null : req.getString("email");
10181020
final String phone = req == null ? null : req.getString("phone");
10191021
final String clientIp = req == null ? null : req.getString("clientIp");
10201022

1023+
LOGGER.info("invalidating tokens async");
10211024
this.idService.invalidateTokensAsync(input.toUserIdentity(this.identityScope, 0, now), now, uidTraceId, env,
10221025
email, phone, clientIp,
10231026
ar -> {

0 commit comments

Comments
 (0)