On Fri, 2018-06-22 at 15:38 +0530, Hasini Witharana wrote:
> Hi Robert,
> 
> 1. User access Apache Sling login page
> > 
> > - the login page contains a link to an external OAuth provider
> > (Google)
> > 
> 
> We need to have a cookie on this point. When a user click the link a
> request is send to Google. This request contains a variable called
> state. I
> need to store this variable on a HashMap against the cookie value.


Then you can use the API I suggested to add a cookie. The value can be
a UUID to make sure it's (practically) unique. 

In which step will that cookie's value be used?

Robert

Reply via email to