Need to use google plus authentication in our website. | Community
Skip to main content
October 16, 2015
Solved

Need to use google plus authentication in our website.

  • October 16, 2015
  • 4 replies
  • 2849 views

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.
Best answer by Sam205505050

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

Sam205505050Accepted solution
Level 6
October 16, 2015

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.

Community Manager
October 16, 2015

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

Community Manager
October 16, 2015
gossip_hollywoo
October 16, 2015

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

 

Cheers