This happened to us right when iOS 15 initially rolled out and we had many complaints from users who had to re-login. (oh the horror!)
At first I wasn't sure what was going on but I think this is what was plaguing us. We haven't gotten any complaints recently so maybe this feature/bug got fixed.