I am trying to implement the OpenID + OAuth protocol using java in my web application.
I am allowing user to login using the Google openID and i want to embed the Google calendar with that email id which has been logged in.
I was created the following code, know i was successfully authenticated and i am getting the values of openID exchange attributes properly like email, first name and last name. But i was unable to get the OAuth request_token.
My Code is :
After sucessfull authentication i am trying to get the data