If you are being logged out of the website, that issue is being discussed here: https://forum.inaturalist.org/t/im-being-automatically-logged-out-of-inaturalist/20332
If you are getting logged out of the app, please fill out the complete bug report with additional details.