lightSAML / SpBundle

SAML2 SP Symfony Bundle based on LightSAML
https://www.lightsaml.com/SP-Bundle/
MIT License
66 stars 70 forks source link

Documentation does not mention cleaning up idEntry table #89

Open gggeek opened 4 years ago

gggeek commented 4 years ago

Following the instructions at https://www.lightsaml.com/SP-Bundle/Getting-started/, the app will create and use an 'IdEntry' db table, where entities get added but never removed from.

I think that it is good practice to avoid that table from growing unbounded.

The getting-started tutorial could give an example of a cleanup cronjob, or at least recommend setting one up.

Q: is everything in the table with an expired expiryTimestamp safe to remove, or should we leave in things for a period after expiration, such 1-month?