Comments (11)
Tested that reverting to Chrome 67 did, in fact, resolve the issue.
from samltoawsstskeys.
I can't confirm the issue yet.
Tested with Chrome Version 68.0.3440.84
on Mac and the credentials file downloads without an issue.
Please provide debug logs.
Go to Extensions, turn on 'Developer Mode', and then click 'Inspect views background/background.html' for this extension. This will give you a new window with the console open. Try to use the extension and please share whatever output is generated.
from samltoawsstskeys.
I am also on Mac running High Sierra (10.13.6) and Chrome 68.0.3440.84. Here's what pops up in the Console in Dev mode.
Error in event handler for webRequest.onBeforeRequest/1: TypeError: Cannot read property '0' of undefined at onBeforeRequestEvent (chrome-extension://ekniobabpcnfjgfbphhcolcinmnbehde/background/script.js:88:55)
from samltoawsstskeys.
Got it, thanks. I think I see the issue.
Am I right your SAML provider only sends along one IAM role?
from samltoawsstskeys.
Never mind. I was already able to reproduce myself. The issue is indeed when just one IAM role is present in the SAML claim.
I wonder how this ever worked before Chrome 68. I guess the previous versions were a bit less restrictive to non existing indexes. The issue is in these lines of code:
samltoawsstskeys/background/script.js
Lines 85 to 88 in e06fcb1
If there is no roleIndex
, it can't get its value. On line 87 its actually checked if this key exists. But unfortunately on line 88 the value of the key is requested regardless of the existence of the key.
I'll create a fix for it soon.
from samltoawsstskeys.
In my case, I'm only requesting the one role's credentials, but in my colleague's case he was requesting 3 additional role's credentials.
from samltoawsstskeys.
Just for completeness (and my own sense of sanity), I added three additional roles that I can assume to the plugin, same error:
Error in event handler for webRequest.onBeforeRequest/1: TypeError: Cannot read property '0' of undefined
at onBeforeRequestEvent (chrome-extension://ekniobabpcnfjgfbphhcolcinmnbehde/background/script.js:88:55)
from samltoawsstskeys.
Thanks for the info, but this still makes sense. The additional roles can only be assumed if the IAM role from the SAML claim can be assumed.
What I was talking about is when your Identity Provider (SAML Provider) adds multiple role claims into the SAML data.
No worries, I've already made a patch and this seems to work locally. I'll soon push it to the Chrome store.
from samltoawsstskeys.
@hrast01 New version is pushed to the Chrome store. Usually its available within 1 hour.
In order for Chrome to fetch the latest version you can best restart Chrome.
from samltoawsstskeys.
Works great, thanks for the quick update!
from samltoawsstskeys.
Thanks for letting me know!
from samltoawsstskeys.
Related Issues (20)
- Filename ignored HOT 8
- Update firefox extension
- Selecting SessionDuration does not work HOT 1
- plugin didnot work if session duration is 1 hour HOT 2
- Access key ID is not recognized by AWS. HOT 1
- Blocked credentials file download on Chrome 83 and 84 HOT 1
- symlink Big Sur HOT 1
- Need to know what permissions the IAM role uses
- Support for China region HOT 1
- Violates Chrome Web store policy... HOT 4
- FireFox Support: Is current extension on Firefox extensions maintained by this repo/owner? HOT 1
- Credential file not downloading after v3.0 upgrade HOT 7
- Error getting non Default credentials after Manifest v3 change HOT 7
- Could not call AssumeRoleWithSAML: Error: HTTP error: 400 HOT 18
- Issue with sessionduration since latest v3.1. Extension is not working HOT 8
- Download option of credentials stopped working with new version. HOT 6
- Issue with the optional setting [OPTIONAL] Apply the SessionDuration requested by the SAML provider HOT 2
- Does not generate the file credentials. HOT 13
- Support for Gov cloud
- Stopped renaming credentials file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samltoawsstskeys.