Skip to content

Commit d1ffb90

Browse files
sw33tLieclaude
andcommitted
switch bugcrowd auth to Okta IDX flow
Bugcrowd moved back to Okta for authentication. This restores and updates the Okta IDX login flow (introspect → identify → password challenge → OTP challenge → token redirect) with fixes for the new redirect chain through /auth/set-session. Also adds session keepalive, cookie dedup, and updates --token flag to use _bugcrowd_session cookie. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e48ccd5 commit d1ffb90

5 files changed

Lines changed: 419 additions & 72 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Alternatively, you can provide credentials directly via command-line flags when
115115
| Command | Flag | Description |
116116
| --- | --- | --- |
117117
| `poll h1` | `--user`, `--token` | Your HackerOne username and API token. |
118-
| `poll bc` | `--token` | A live `_crowdcontrol_session_key` cookie. Use as an alternative to email/pass/otp. |
118+
| `poll bc` | `--token` | A live `_bugcrowd_session` cookie value. Use as an alternative to email/pass/otp. |
119119
| | `--email`, `--password`, `--otp-secret` | Your Bugcrowd login credentials. |
120120
| `poll it` | `--token` | Your Intigriti authorization token (Bearer). |
121121
| `poll ywh` | `--token` | A live YesWeHack bearer token. Use as an alternative to email/pass/otp. |
@@ -360,7 +360,7 @@ bbscope poll h1 --user "your_user" --token "your_token"
360360

361361
```bash
362362
# Using session token
363-
bbscope poll bc --token "your_crowdcontrol_session_key"
363+
bbscope poll bc --token "your_bugcrowd_session_cookie"
364364
365365
# Using credentials
366366
bbscope poll bc --email "..." --password "..." --otp-secret "..."

cmd/poll_bc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var pollBcCmd = &cobra.Command{
4545
func init() {
4646
pollCmd.AddCommand(pollBcCmd)
4747
pollBcCmd.Flags().BoolP("public-only", "", false, "Fetch only public programs without authentication")
48-
pollBcCmd.Flags().StringP("token", "t", "", "Bugcrowd _crowdcontrol_session_key cookie value")
48+
pollBcCmd.Flags().StringP("token", "t", "", "Bugcrowd _bugcrowd_session cookie value")
4949
pollBcCmd.Flags().StringP("email", "E", "", "Bugcrowd login email")
5050
pollBcCmd.Flags().StringP("password", "P", "", "Bugcrowd login password")
5151
pollBcCmd.Flags().StringP("otp-secret", "O", "", "Bugcrowd TOTP secret (base32)")

docs/src/platforms/bugcrowd.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ bbscope poll bc --email you@example.com --password pass --otp-secret SECRET
2323

2424
### 2. Token authentication
2525

26-
Use a session token directly:
26+
Use a `_bugcrowd_session` cookie value directly (grab it from your browser's DevTools):
2727

2828
```bash
29-
bbscope poll bc --token "your_session_token"
29+
bbscope poll bc --token "your_bugcrowd_session_cookie"
3030
```
3131

3232
### 3. Public-only mode (no auth)

0 commit comments

Comments
 (0)