[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/stackrox/stackrox/master/scripts/quick-helm-install.sh [Back]  [Original]

#!/usr/bin/env bash
set -euo pipefail

logmein() {
  target_url="$(curl -sSkf -u "admin:${ROX_ADMIN_PASSWORD}" -w '%{redirect_url}' "https://localhost:8000/sso/providers/basic/4df1b98c-24ed-4073-a9ad-356aec6bb62d/challenge?micro_ts=0")"
  if [[ -z "${target_url}" ]]; then
    >&2 echo "UNEXPECTED: Could not determine target URL"
    return
  fi

  auth_error="$(sed -E '/^.*#error=([^&]+)(&.*)?$/!d;s//\1/' 

Web Proxy Viewer  |  New URL  |  Original Page