draios / draios/sysdig-cloud-scripts

OpenID connect setup broken

Open
#56 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
83
Forks
105
Avg merge
3h 53m
Merged PRs (30d)
1

Description

Hi there,
I've tried using the latest version of the OpenID connect script, but I get an error from sysdig.
Executing this:
./oidc_config.sh` -s -u <URL> -i sysdig -e <secret>
Returns:
jq: error (at :1): Cannot iterate over null (null)
{
"timestamp": 1549902178334,
"status": 404,
"error": "Not Found",
"message": "Not Found",
"path": "/api/admin/auth/settings"
}
jq: error (at :1): Cannot iterate over null (null)
{
"errors": [
{
"reason": "Invalid request format",
"message": "Can't read HTTP input."
}
]
}

Previous version, around beginning of December, was working fine.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with oidc_config.sh and reproduce the command shown against the reported Sysdig endpoint. Trace the 404 response from /api/admin/auth/settings and the subsequent jq null errors, then verify the script can complete OpenID Connect setup without the invalid request format error.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
authentication, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.