Re: wordpress authentication
Bharat Mediratta <[email protected]> Wed, 26 Dec 2012 13:36:09 -0800
| Newsgroups | gmane.comp.web.gallery.devel |
|---|---|
| Message-ID | <CAESa+_nqZLYgz7ic7R3e4uhumBOhbWJzHv73XzKJJyTthHn6RA@mail.gmail.com> |
The way G3's auth system works is that you can use a single canonical storage for users - either the standard Gallery3 user module, or the wordpress_auth module which will switch you to authenticating against Wordpress's user database. I haven't used wordpress_auth so YMMV, but I imagine it wouldn't be that hard to link your wordpress user credentials with Gallery using the REST API. I haven't seen anybody do that yet, though... On Tue, Dec 25, 2012 at 1:32 PM, <[email protected]> wrote: > ** > > Hi Bharat, > > > > I'm using gallery3 in combination with my wordpress site. To display the > images I use the g3client plugin in wordpress. However I also would like to > enable my users to login to the g3 site using their wordpress IDs. This is > where wordpress_auth comes in to play am I right? Can you tell me what the > status of the module is now? As far as I understood, the module will remove > some of the authentication tables in the G3, which makes me a bit nervous. > However if I try this module I will make a copy to a test environment first. > > Another thing, is it possible to log into the G3 site by using the REST > API? I was thinking to make a wordpress plugin that provides a link to the > G3 site but when clicked will use the REST API to login to the site > immediately. This way you don't need to login multiple times when accessing > the site. > > > > Hopefully you can help me a bit here. > > > > TIA, Darius > > ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 __[ g a l l e r y - d e v e l ]_________________________ [ list info/archive --> http://gallery.sf.net/lists.php ] [ gallery info/FAQ/download --> http://gallery.sf.net ]