Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Need to use google plus authentication in our website.

Avatar

Level 1

We need to integrate the google plus login feature in our website. We have been able to get google plus login button and a response with user details as described in steps here https://developers.google.com/+/web/signin/add-button.

What i need next is to persist this user as CQ granite user and how to use this user session for further authentication purposes. 

Any pointers in this regard will be helpful.

1 Accepted Solution

Avatar

Correct answer by
Level 6

I assume that you are using OAUTH for authentication, take a look at OOTB Facebbok/Twitter authentication handler. You have to create custom authentication handler to achieve this.

View solution in original post

4 Replies

Avatar

Correct answer by
Level 6

I assume that you are using OAUTH for authentication, take a look at OOTB Facebbok/Twitter authentication handler. You have to create custom authentication handler to achieve this.

Avatar

Employee

AEM does not integrate directly with AEM; however, it should be doable by creating an authentication OSGi service which supports the TOTP RFC-6238 protocol (Time based One Time Password)

Here are some good starting points

  1. Creating custom authentication handler in AEM:
    http://www.wemblog.com/2013/03/how-to-create-custom-authentication.html
  2. Implementing Java Authenticator Server for Google Authenticator:

    Blog - http://thegreyblog.blogspot.co.uk/2011/12/google-authenticator-using-it-in-your.html?q=google+authen...

    Code- https://github.com/wstrange/GoogleAuth 

​Regards,

Alva

Avatar

Level 1

Any more updates, im in the same boat with my site gossip-hollywood.com

 

Cheers