Nike-Inc / gimme-aws-creds

A CLI that utilizes Okta IdP via SAML to acquire temporary AWS credentials
Apache License 2.0
920 stars 262 forks source link

Is email for mfa supported? #394

Closed elishagreenwald closed 1 year ago

elishagreenwald commented 1 year ago

Quick sanity check - sms works fine (thank you!) but I can't do email for mfa. Is it supposed to work? Thanks!

Expected Behavior

When selecting email for mfa it should send an email and prompt for the code.

Current Behavior

It fails with an error AttributeError: 'NoneType' object has no attribute 'get' Please see attached logs. logs.txt

Context

I'm trying to use email for mfa. Please see config file attached. config_file.txt

Your Environment

epierce commented 1 year ago

No one has implemented Email as a factor yet, but we'd welcome any PRs adding it.

elishagreenwald commented 1 year ago

Thanks, I added a PR: https://github.com/Nike-Inc/gimme-aws-creds/pull/406

epierce commented 1 year ago

This will be included in the next release