Skip to content

Commit

Permalink
Merge branch 'oidc-flow' of github.com:adrienne-deriv/smarttrader int…
Browse files Browse the repository at this point in the history
…o oidc-flow
  • Loading branch information
adrienne-deriv committed Nov 27, 2024
2 parents 338efba + 4a14e25 commit 901370a
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/javascript/_common/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,45 @@ export const requestSingleSignOn = async () => {
const isAuthEnabled = isOAuth2Enabled();
const isCallbackPage = window.location.pathname.includes('callback');
const isEndpointPage = window.location.pathname.includes('endpoint');

// eslint-disable-next-line
console.log('fuck this shit')
Cookies.set('logged_state', 'false', {
expires: 30,
path : '/',
domain : currentDomain,
secure : true,
});
Cookies.set('logged_state', 'false', {
expires: 30,
path : '/',
domain : currentDomain,
secure : true,
});
Cookies.set('logged_state', 'false', {
expires: 30,
path : '/',
domain : currentDomain,
secure : true,
});
Cookies.set('logged_state', 'false', {
expires: 30,
path : '/',
domain : currentDomain,
secure : true,
});
Cookies.set('logged_state', 'false', {
expires: 30,
path : '/',
domain : currentDomain,
secure : true,
});
Cookies.set('logged_state', 'false', {
expires: 30,
path : '/',
domain : currentDomain,
secure : true,
});

// eslint-disable-next-line
console.log('requesting single-sign-on...')
Expand Down

0 comments on commit 901370a

Please sign in to comment.