Can we change the metadata expiry date ?
As when we download the metadata for SAML authentication it is only valid for a week.
P.S. The certificates used for metadata are valid for couple of years.
Issue is resolved, I had to change the file Metadata.php under /var/www/nextcloud/apps/user_saml/3rdparty/vendor/onelogin/php-saml/lib/Saml2.
Change the const TIME_VALID and const TIME_CACHED values to the desired time limits.