update to staging
This commit is contained in:
@ -29,7 +29,7 @@ const TheContent = () => {
|
|||||||
async function fetchSession() {
|
async function fetchSession() {
|
||||||
|
|
||||||
//setSsoSession('{ "expiration": 468, "client_address": "111.223.144.163", "protocol": "urn:oasis:names:tc:SAML:2.0:protocol", "identity_provider": "https://sso.ts.bizside.biz/idp/shibboleth", "authn_instant": "2021-09-03T08:26:41.248Z", "authncontext_class": "urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport", "attributes": [ { "name": "mail", "values": [ "akira.miyata@mobilous.com" ] } ] }')
|
//setSsoSession('{ "expiration": 468, "client_address": "111.223.144.163", "protocol": "urn:oasis:names:tc:SAML:2.0:protocol", "identity_provider": "https://sso.ts.bizside.biz/idp/shibboleth", "authn_instant": "2021-09-03T08:26:41.248Z", "authncontext_class": "urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport", "attributes": [ { "name": "mail", "values": [ "akira.miyata@mobilous.com" ] } ] }')
|
||||||
const result = await axios('https://fbssso.bizside.biz/Shibboleth.sso/Session');
|
const result = await axios('https://fbssso.ts.bizside.biz/Shibboleth.sso/Session');
|
||||||
if(JSON.stringify(SsoSession) !== JSON.stringify(result.data)) {
|
if(JSON.stringify(SsoSession) !== JSON.stringify(result.data)) {
|
||||||
console.log(result.data);
|
console.log(result.data);
|
||||||
setSsoSession(result.data);
|
setSsoSession(result.data);
|
||||||
@ -49,7 +49,7 @@ const TheContent = () => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const result = await axios.post('https://fbssso.bizside.biz/csv', data, axiosConfig)
|
const result = await axios.post('https://fbssso.ts.bizside.biz/csv', data, axiosConfig)
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.log("AXIOS ERROR: ", err);
|
console.log("AXIOS ERROR: ", err);
|
||||||
});
|
});
|
||||||
@ -66,7 +66,7 @@ const TheContent = () => {
|
|||||||
const key = "api"
|
const key = "api"
|
||||||
const pwd = "c558a56c63c44f65956adde8863ecc3558f3e55a465d4338bb2e7d2692866fd8";
|
const pwd = "c558a56c63c44f65956adde8863ecc3558f3e55a465d4338bb2e7d2692866fd8";
|
||||||
|
|
||||||
const result = await axios.get('https://fbssso.bizside.biz/users?email=' + user_email, {
|
const result = await axios.get('https://fbssso.ts.bizside.biz/users?email=' + user_email, {
|
||||||
auth: {
|
auth: {
|
||||||
username: key,
|
username: key,
|
||||||
password: pwd
|
password: pwd
|
||||||
|
|||||||
@ -13,7 +13,7 @@ const TheHeaderDropdown = () => {
|
|||||||
|
|
||||||
function launchsso() {
|
function launchsso() {
|
||||||
console.log("launch sso");
|
console.log("launch sso");
|
||||||
window.open("https://fbssso.bizside.biz/Shibboleth.sso/Login", "_self");
|
window.open("https://fbssso.ts.bizside.biz/Shibboleth.sso/Login", "_self");
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -33,7 +33,7 @@ import "react-datepicker/dist/react-datepicker.css";
|
|||||||
|
|
||||||
function Index() {
|
function Index() {
|
||||||
|
|
||||||
const baseUrl = "https://natnats.mobilous.com/";
|
const baseUrl = "https://fbssso.ts.bizside.biz/";
|
||||||
|
|
||||||
|
|
||||||
const [data, setData] = useState([]);
|
const [data, setData] = useState([]);
|
||||||
@ -48,7 +48,7 @@ function Index() {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
async function fetchData() {
|
async function fetchData() {
|
||||||
// You can await here
|
// You can await here
|
||||||
const result = await axios('https://natnats.mobilous.com/getConstructionList');
|
const result = await axios('https://fbssso.ts.bizside.biz/getConstructionList');
|
||||||
setData(result.data);
|
setData(result.data);
|
||||||
}
|
}
|
||||||
fetchData();
|
fetchData();
|
||||||
|
|||||||
@ -22,7 +22,7 @@ const Dashboard = (props) => {
|
|||||||
<div className="card-body">
|
<div className="card-body">
|
||||||
<blockquote className="card-bodyquote">
|
<blockquote className="card-bodyquote">
|
||||||
<h3>ワンタイムパスワード :{props.userid}</h3>
|
<h3>ワンタイムパスワード :{props.userid}</h3>
|
||||||
<a target="_blank" href="https://openshield.bizside.biz/appexe/natnats/23/bin/mobileweb2/index.html"><h1>FBS Web app</h1></a>
|
<a target="_blank" href="https://openshield.ts.bizside.biz/appexe/natnats/23/bin/mobileweb2/index.html#page_44022"><h1>FBS Web app</h1></a>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user