Return a fake openid token to enable web services on a grid to identify the user
parent
2059d548a6
commit
5e9fa5e7f5
|
@ -580,7 +580,10 @@ namespace OpenSim.Services.LLLoginService
|
||||||
|
|
||||||
// We need to send an openid_token back in the response too
|
// We need to send an openid_token back in the response too
|
||||||
if (openIDURL != String.Empty)
|
if (openIDURL != String.Empty)
|
||||||
|
{
|
||||||
responseData["openid_url"] = openIDURL;
|
responseData["openid_url"] = openIDURL;
|
||||||
|
responseData["openid_token"] = AgentID.ToString() + ":" + Util.Md5Hash(SecureSessionID.ToString());
|
||||||
|
}
|
||||||
|
|
||||||
if (m_buddyList != null)
|
if (m_buddyList != null)
|
||||||
{
|
{
|
||||||
|
@ -696,7 +699,10 @@ namespace OpenSim.Services.LLLoginService
|
||||||
map["profile-server-url"] = OSD.FromString(profileURL);
|
map["profile-server-url"] = OSD.FromString(profileURL);
|
||||||
|
|
||||||
if (openIDURL != String.Empty)
|
if (openIDURL != String.Empty)
|
||||||
|
{
|
||||||
map["openid_url"] = OSD.FromString(openIDURL);
|
map["openid_url"] = OSD.FromString(openIDURL);
|
||||||
|
map["openid_token"] = OSD.FromString(AgentID.ToString() + ":" + Util.Md5Hash(SecureSessionID.ToString()));
|
||||||
|
}
|
||||||
|
|
||||||
if (searchURL != String.Empty)
|
if (searchURL != String.Empty)
|
||||||
map["search"] = OSD.FromString(searchURL);
|
map["search"] = OSD.FromString(searchURL);
|
||||||
|
|
Loading…
Reference in New Issue