Skip to content

Commit

Permalink
remove redirect to about:blank page
Browse files Browse the repository at this point in the history
  • Loading branch information
elicopilot committed Nov 14, 2023
1 parent 0b61e6e commit 14a1f34
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/provider/browser/browser.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,7 @@ var getSAMLResponse = func(page playwright.Page, loginDetails *creds.LoginDetail
}

logger.Info("waiting ...")
r, _ := page.ExpectRequest(signin_re, func() error {
_, err := page.Goto("about:blank")
return err
}, client.expectRequestTimeout())
r, _ := page.ExpectRequest(signin_re, nil, client.expectRequestTimeout())
data, err := r.PostData()
if err != nil {
return "", err
Expand Down

0 comments on commit 14a1f34

Please sign in to comment.