I'm making a web app which is supposed to play music in a radio-style so the session can be really long. After playing 10-15 tracks a dialog pops up with a message "Your session has ended. Please sign in again". However if I authenticate once and then come back to the app after a few days the session is still active. I've also tried calling "MusicKit.getInstance().authorize()" after playing every track which didn' help.
What is the session life time and how I should prolongue it?