OAuth event listener.