diff --git a/backend/go-app/main.go b/backend/go-app/main.go index 50f87d66..718ac5a8 100644 --- a/backend/go-app/main.go +++ b/backend/go-app/main.go @@ -1270,6 +1270,10 @@ func checkAdminLogin(resp http.ResponseWriter, request *http.Request) { redirectUrl = url.QueryEscape(fmt.Sprintf("%s/api/v1/login_openid", os.Getenv("BASE_URL"))) } + if len(os.Getenv("SSO_REDIRECT_URL")) > 0 { + redirectUrl = url.QueryEscape(fmt.Sprintf("%s/api/v1/login_openid", os.Getenv("SSO_REDIRECT_URL"))) + } + state := base64.StdEncoding.EncodeToString([]byte(fmt.Sprintf("org=%s&challenge=%s&redirect=%s", org.Id, codeChallenge, redirectUrl))) // has to happen after initial value is stored diff --git a/frontend/package.json b/frontend/package.json index ff3cdef7..d6d5577c 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -9,7 +9,6 @@ "@emotion/react": "^11.7.0", "@emotion/styled": "^11.6.0", "@material-ui/core": "^4.5.2", - "@material-ui/data-grid": "^4.0.0-alpha.22", "@material-ui/icons": "^4.5.1", "@material-ui/lab": "^4.0.0-alpha.58", "@material-ui/styles": "^4.5.2", @@ -17,6 +16,7 @@ "@metamask/detect-provider": "^1.2.0", "@mui/icons-material": "^5.2.1", "@mui/material": "^5.2.3", + "@mui/x-data-grid": "^5.15.0", "@uiw/react-codemirror": "^3.2.1", "@use-it/interval": "^1.0.0", "algoliasearch": "^4.13.1", diff --git a/frontend/src/components/ParsedAction.jsx b/frontend/src/components/ParsedAction.jsx index 4a746939..a386bb9a 100644 --- a/frontend/src/components/ParsedAction.jsx +++ b/frontend/src/components/ParsedAction.jsx @@ -3211,7 +3211,6 @@ const ParsedAction = (props) => { setSelectedAction(selectedAction); setUpdate(Math.random()); } else { - //console.log("CHOSE AN AUTHENTICATION OPTION: ", e.target.value) selectedAction.selectedAuthentication = e.target.value; selectedAction.authentication_id = e.target.value.id; setSelectedAction(selectedAction); diff --git a/frontend/src/components/WelcomeForm.jsx b/frontend/src/components/WelcomeForm.jsx index 3009a083..58a1e8e9 100644 --- a/frontend/src/components/WelcomeForm.jsx +++ b/frontend/src/components/WelcomeForm.jsx @@ -4,9 +4,12 @@ import Step from "@material-ui/core/Step"; import StepLabel from "@material-ui/core/StepLabel"; import Button from "@material-ui/core/Button"; import Checkbox from '@mui/material/Checkbox'; + import SearchIcon from '@mui/icons-material/Search'; import EmailIcon from '@mui/icons-material/Email'; import NewReleasesIcon from '@mui/icons-material/NewReleases'; +import ExtensionIcon from '@mui/icons-material/Extension'; + import theme from '../theme'; import { FormGroup, @@ -422,7 +425,9 @@ const WelcomeForm = (props) => {
-