Revert "[DRAFT] fix: auto provisioning of users"#314
Conversation
| log.Printf("[WARNING] Apikey %s doesn't exist: %s", apikey, err) | ||
| // Due to execution auth | ||
| if !strings.Contains(request.URL.String(), "authorization=") && !strings.Contains(request.URL.String(), "execution_id=") { | ||
| log.Printf("[WARNING] Apikey %s doesn't exist. URL: %#v: %s", apikey, request.URL.String(), err) |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information High
Copilot Autofix
AI 15 days ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
| resp.WriteHeader(401) | ||
| resp.Write([]byte(fmt.Sprintf(`{"success": false, "reason": "Failed setting session"}`))) | ||
| return | ||
| } |
Check warning
Code scanning / CodeQL
Cookie 'Secure' attribute is not set to true Medium
Copilot Autofix
AI 15 days ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
| // if err != nil { | ||
| // log.Printf("[WARNING] Failed setting new user in DB: %s", err) | ||
| // resp.WriteHeader(401) | ||
| // resp.Write([]byte(fmt.Sprintf(`{"success": false, "reason": "Failed updating the user"}`))) |
Check warning
Code scanning / CodeQL
Cookie 'Secure' attribute is not set to true Medium
Copilot Autofix
AI 15 days ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
Reverts #289