Return a fake openid token to enable web services on a grid to identify the user

0.9.1.0-post-fixes
Melanie 2018-12-11 15:09:06 +00:00
parent 2059d548a6
commit 5e9fa5e7f5
1 changed files with 6 additions and 0 deletions

View File

@ -580,7 +580,10 @@ namespace OpenSim.Services.LLLoginService
// We need to send an openid_token back in the response too
if (openIDURL != String.Empty)
{
responseData["openid_url"] = openIDURL;
responseData["openid_token"] = AgentID.ToString() + ":" + Util.Md5Hash(SecureSessionID.ToString());
}
if (m_buddyList != null)
{
@ -696,7 +699,10 @@ namespace OpenSim.Services.LLLoginService
map["profile-server-url"] = OSD.FromString(profileURL);
if (openIDURL != String.Empty)
{
map["openid_url"] = OSD.FromString(openIDURL);
map["openid_token"] = OSD.FromString(AgentID.ToString() + ":" + Util.Md5Hash(SecureSessionID.ToString()));
}
if (searchURL != String.Empty)
map["search"] = OSD.FromString(searchURL);