Although "traditionally" ascribed to Rabbi Shimon bar Yochai zt"l, the Zohar has been beset with controversy about its authorship since it was discovered and published by R' Moshe de Leon. Notably ...
In my experience, many religious Jews think that Rabbi Shimon Bar Yochai wrote the book we have today called the Zohar. The Zohar is a Jewish work of mysticism that was published in the 13th century. ...
Deuteronomy discusses Moses' death, and I've heard several versions of its authorship: that Moses wrote it (and knew about his death, it was predetermined), or that Joshua wrote it (or part of it). ...