Hi all,
I'm trying to embed gallery in a project I'm creating from scratch, a sort of CMS...
I have a login/pass authentication method with cookies and sessions support.
What I'd like to do, is to login in my app, and gain access to gallery resources too.
If, for example, I login as admin in my app, I'd like to be able to manage my gallery too, without double logging in also into the gallery.
To do this, I think I need something to set sessions into the gallery database (or at least map my app sessions into a new gallery session to be created at login time) but this feature seems to not exist or not to be documented...
Any help?
Thanks
Posts: 32509
you need to map your users with g2's users (ExternalIdMap) and you need to create a small wrapper script which starts G2 with your authenticated userId.
this is described at development -> embedding.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage