One common argument for John not specifying himself as the author of the fourth gospel was he was “humble” and did not want to call himself out. But, in the book of Revelation, John mentions himself 5 times:
Rev 1:1
The Revelation of Jesus Christ, which God gave unto him, to shew unto his servants things which must shortly come to pass; and he sent and signified it by his angel unto his servant John:
Rev 1:4
John to the seven churches which are in Asia: Grace be unto you, and peace, from him which is, and which was, and which is to come; and from the seven Spirits which are before his throne;
Rev 1:9
I John, who also am your brother, and companion in tribulation, and in the kingdom and patience of Jesus Christ, was in the isle that is called Patmos, for the word of God, and for the testimony of Jesus Christ.
Rev 21:2
And I John saw the holy city, new Jerusalem, coming down from God out of heaven, prepared as a bride adorned for her husband.
Rev 22:8
And I John saw these things, and heard them. And when I had heard and seen, I fell down to worship before the feet of the angel which shewed me these things.
So, the argument that John was being humble as the author of the fourth gospel conflicts with the book of Revelation.
https://debatingchristianity.com/forum/viewtopic.php?p=957883#p957883