Newgen Software interview question

JWT & spring security, oops