Hi,
In my custom cookie sso class. In the authenticateuser method i am setting the email to like this.
SessionContext session = JForumExecutionContext.getRequest().getSessionContext();
session.setAttribute("sso.email.attribute", user.getEmail());
I added a println in the checkSSO method of controllerutils like this:
String email = (String) session.getAttribute(SystemGlobals.getValue(ConfigKeys.SSO_EMAIL_ATTRIBUTE));
System.out.println("email from session "+email);
The email attribute is null at this point so the new user is setup with the default email address from SystemGlobals.
Has anyone else come across a problem like this
Thanks
Paul
[originally posted on jforum.net by jonesp123]