You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wget -c "https://github.com/Versent/saml2aws/releases/download/v${CURRENT_VERSION}/saml2aws_${CURRENT_VERSION}_linux_amd64.tar.gz" -O - | tar -xzv -C ~/.local/bin
119
120
chmod u+x ~/.local/bin/saml2aws
120
121
hash -r
121
122
saml2aws --version
122
123
```
124
+
If U2F support is required then there are separate builds for this - use the following download URL instead:
125
+
```
126
+
wget -c "https://github.com/Versent/saml2aws/releases/download/v${CURRENT_VERSION}/saml2aws-u2f_${CURRENT_VERSION}_linux_amd64.tar.gz" -O - | tar -xzv -C ~/.local/bin
127
+
```
123
128
124
129
#### Using Make
125
130
@@ -244,6 +249,7 @@ Commands:
244
249
The file that will cache the credentials retrieved from AWS. When not specified, will use the default AWS credentials file location. (env: SAML2AWS_CREDENTIALS_FILE)
245
250
--cache-saml Caches the SAML response (env: SAML2AWS_CACHE_SAML)
246
251
--cache-file=CACHE-FILE The location of the SAML cache file (env: SAML2AWS_SAML_CACHE_FILE)
252
+
--download-browser-driver Automatically download browsers for Browser IDP. (env: SAML2AWS_AUTO_BROWSER_DOWNLOAD)
247
253
--disable-sessions Do not use Okta sessions. Uses Okta sessions by default. (env: SAML2AWS_OKTA_DISABLE_SESSIONS)
248
254
--disable-remember-device Do not remember Okta MFA device. Remembers MFA device by default. (env: SAML2AWS_OKTA_DISABLE_REMEMBER_DEVICE)
249
255
@@ -540,6 +546,18 @@ region = us-east-1
540
546
541
547
To use this you will need to export `AWS_DEFAULT_PROFILE=customer-test` environment variable to target `test`.
542
548
549
+
### Playwright Browser Drivers for Browser IDP
550
+
551
+
If you are using the Browser Identity Provider, on first invocation of `saml2aws login` you need to remember to install
552
+
the browser drivers in order for playwright-go to work. Otherwise you will see the following error message:
553
+
554
+
`Error authenticating to IDP.: could not start driver: fork/exec ... no such file or directory`
555
+
556
+
To install the drivers, you can:
557
+
* Pass `--download-browser-driver` to `saml2aws login`
558
+
* Set in your shell environment `SAML2AWS_AUTO_BROWSER_DOWNLOAD=true`
559
+
* Set `download_browser_driver = true` in your saml2aws config file, i.e. `~/.saml2aws`
560
+
543
561
## Advanced Configuration (Multiple AWS account access but SAML authenticate against a single 'SSO' AWS account)
0 commit comments