diff options
author | Melanie | 2018-12-11 15:09:06 +0000 |
---|---|---|
committer | Melanie | 2018-12-11 15:09:06 +0000 |
commit | 5e9fa5e7f543569f987e5f7c1533f33dbd0c711b (patch) | |
tree | ea72c8ad07f18ae28dfb1b3c0aca4bf141b069da /OpenSim/Services/LLLoginService/LLLoginResponse.cs | |
parent | minor changes on llSetContentType (diff) | |
download | opensim-SC-5e9fa5e7f543569f987e5f7c1533f33dbd0c711b.zip opensim-SC-5e9fa5e7f543569f987e5f7c1533f33dbd0c711b.tar.gz opensim-SC-5e9fa5e7f543569f987e5f7c1533f33dbd0c711b.tar.bz2 opensim-SC-5e9fa5e7f543569f987e5f7c1533f33dbd0c711b.tar.xz |
Return a fake openid token to enable web services on a grid to identify the user
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginResponse.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginResponse.cs b/OpenSim/Services/LLLoginService/LLLoginResponse.cs index 823fd36..5cb0d69 100644 --- a/OpenSim/Services/LLLoginService/LLLoginResponse.cs +++ b/OpenSim/Services/LLLoginService/LLLoginResponse.cs | |||
@@ -580,7 +580,10 @@ namespace OpenSim.Services.LLLoginService | |||
580 | 580 | ||
581 | // We need to send an openid_token back in the response too | 581 | // We need to send an openid_token back in the response too |
582 | if (openIDURL != String.Empty) | 582 | if (openIDURL != String.Empty) |
583 | { | ||
583 | responseData["openid_url"] = openIDURL; | 584 | responseData["openid_url"] = openIDURL; |
585 | responseData["openid_token"] = AgentID.ToString() + ":" + Util.Md5Hash(SecureSessionID.ToString()); | ||
586 | } | ||
584 | 587 | ||
585 | if (m_buddyList != null) | 588 | if (m_buddyList != null) |
586 | { | 589 | { |
@@ -696,7 +699,10 @@ namespace OpenSim.Services.LLLoginService | |||
696 | map["profile-server-url"] = OSD.FromString(profileURL); | 699 | map["profile-server-url"] = OSD.FromString(profileURL); |
697 | 700 | ||
698 | if (openIDURL != String.Empty) | 701 | if (openIDURL != String.Empty) |
702 | { | ||
699 | map["openid_url"] = OSD.FromString(openIDURL); | 703 | map["openid_url"] = OSD.FromString(openIDURL); |
704 | map["openid_token"] = OSD.FromString(AgentID.ToString() + ":" + Util.Md5Hash(SecureSessionID.ToString())); | ||
705 | } | ||
700 | 706 | ||
701 | if (searchURL != String.Empty) | 707 | if (searchURL != String.Empty) |
702 | map["search"] = OSD.FromString(searchURL); | 708 | map["search"] = OSD.FromString(searchURL); |