update for jsessionid

This commit is contained in:
Mohamed Nouffer
2021-09-02 17:37:21 +05:30
parent f811aa9bf4
commit 30737948f5
9 changed files with 16 additions and 16 deletions

View File

@ -99,8 +99,8 @@ const TheContent = () => {
if (SsoSession !== null) {
console.log(shib);
fetchUser().then(() => {
let id = Math.floor(100000 + Math.random() * 900000)
if(UserId === ''){
let id = Math.floor(100000 + Math.random() * 900000)
setUserId(id);
}
const _firstname = UserData.firstname;
@ -112,7 +112,7 @@ const TheContent = () => {
{
"mailadress": "${_email}",
"name": "${_lastname} ${_firstname}",
"jsessionid": ${id},
"jsessionid": ${UserId},
"_idp_session": "",
"_opensaml_key": "_shibsession_64656661756c7468747470733a2f2f66736273736f2e73756d6173656e2e6e65742f73686962626f6c657468",
"_opensaml_value": "${shib}"