Skip to content

Error authenticating to IdP.: could not install driver: could not install driver: error: got non 200 status code: 403 (403 Forbidden - unexpected URL format) from https://playwright.download.prss.microsoft.com/builds/driver/playwright-1.47.2-linux.zip #1531

Description

@frreiro

Description

The SAML2AWS Login returns error to install playwright driver.
When access the playwright download URL returns 403.

Details:

Ubuntu: 24.04.4 LTS
saml2aws: 2.36.19

Stack Trace

could not install driver: could not install driver: error: got non 200 status code: 404 (404 Not Found) from https://playwright.download.prss.microsoft.com/builds/driver/playwright-1.47.2-linux.zip
Error authenticating to IdP.
github.com/versent/saml2aws/v2/cmd/saml2aws/commands.Login
	github.com/versent/saml2aws/v2/cmd/saml2aws/commands/login.go:108
main.main
	github.com/versent/saml2aws/v2/cmd/saml2aws/main.go:199
runtime.main
	runtime/proc.go:283
runtime.goexit
	runtime/asm_amd64.s:1700

~/.saml2aws

Was follow the instructions on README.md file to install the browser driver by using download_browser_driver = true on .saml2aws config file. The config file looks like below:

[placeholder]
name                    = placeholder
app_id                  = {APP_ID}
url                     = {APP_URL}
username                = {USERNAME}
provider                = Browser
mfa                     = Auto
aws_urn                 = urn:amazon:webservices
aws_session_duration    = 3600
aws_profile             = {AWS_PROFILE}
role_arn                = {AWS_ROLE_ARN}
region                  = us-east-1
saml_cache              = false
download_browser_driver = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions