Hi Hasini, On Sun, 2018-07-22 at 23:20 +0530, Hasini Witharana wrote: > Hi all, > > I have implemented a login with Google for Apache Sling. After user > is > successfully logged in using Google, a new user is created with email > address and a UUID as a password in user store. > > I want to redirect this user to the > http://localhost:8080/starter/index.html > and the user should be logged in. Are there any documentations or > examples > for this implementation?
The code from o.a.s.auth.core's LoginServlet should point you in the right direction. https://github.com/apache/sling-org-apache-sling-auth-core/blob/master/src/main/java/org/apache/sling/auth/core/impl/LoginServlet.java Hope this helps, Robert
