Is there a way inject extra information/objects into session cookie



I’d like to append an object to the session cookie but couldn’t find a way to do it. Basically, once any user logs in, I’d like to fetch few properties that belong to the user from 2-3 different tables and add them to the session cookie so that I can poll and verify the user properties throughout the application when and where required.

Your help is greatly appreciated if you can point me in the right direction



you can store additional data in the Play session cookie. You do not need Silhouette here.

Best regards,