apollo-rsps/apollo

Log information when a login session is rejected

Closed this issue · 0 comments

We should log debug information in LoginDecoder, when sessions are rejected:

writeResponseCode(ctx, LoginConstants.STATUS_LOGIN_SERVER_REJECTED_SESSION);

Information to include:

  • The stage that caused the rejection (e.g. RSA magic mismatch, seed mismatch)
  • more?

Username cant be included because its only decoded after this (and will probably be garbage data if we need to reject a session anyway)