Skip to content

Commit

Permalink
Merge pull request #1164 from eliat123/remove_redirect_blank_page
Browse files Browse the repository at this point in the history
[Bug fix] remove redirect to about:blank page
  • Loading branch information
mapkon authored Nov 15, 2023
2 parents 0b61e6e + 14a1f34 commit 47feda6
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 47feda6

Please sign in to comment.