Skip to main content
Oct 16, 2015 2:28 AM UTC
Solved

Need to use google plus authentication in our website.

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Sam205505050Accepted solution
Level 6
Oct 16, 2015 2:28 AM UTC

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.

4 replies

gossip_hollywoo
Oct 16, 2015 2:28 AM UTC

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

 

Cheers

Translate
Community Manager
Oct 16, 2015 2:28 AM UTC

Hi Anurakt Awasthi,

These articles might help with creating a custom handler:

Regards,

Alva

Translate
Community Manager
Oct 16, 2015 2:28 AM UTC

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+authenticator

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

​Regards,

Alva

Translate
Sam205505050Accepted solution
Level 6
Oct 16, 2015 2:28 AM UTC

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.

Translate