Comments (9)
Hi @jggatter Yes I added print stmt to this file
/opt/homebrew/Cellar/gimme-aws-creds/2.8.2_1/libexec/lib/python3.12/site-packages/gimme_aws_creds/okta_identity_engine.py
![Screenshot 2024-05-29 at 10 45 29 PM](https://private-user-images.githubusercontent.com/1550131/334899654-907fcdef-ac19-42cb-81cf-3edff2b3c170.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTcyNjI4OTYsIm5iZiI6MTcxNzI2MjU5NiwicGF0aCI6Ii8xNTUwMTMxLzMzNDg5OTY1NC05MDdmY2RlZi1hYzE5LTQyY2ItODFjZi0zZWRmZjJiM2MxNzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MDFUMTcyMzE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTJkZmJiNjA4N2MwMjMwNzM2MWY3NDEwZmYyOWYzN2VmNjkzYTgyNGRjY2I4ZDMyNGE4NzgxMTA0Y2U2NDllMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.fL_T0tLcF9I4d9e8zG2-u7UnZN71WN7TqzwstctlXDY)
from gimme-aws-creds.
Are you using --force-classic
or the browser-based login? What Global Session Policy and Authentication Policy is applied to the clientID that gimme-aws-creds is using and to the AWS app you're trying to access?
from gimme-aws-creds.
force_classic = False
open_browser = True%
What Global Session Policy and Authentication Policy is applied to the clientID that gimme-aws-creds is using
- Not Sure
and to the AWS app you're trying to access
- Is this relevant given I am failing to acquire the credentials itself before I can try accessing any app.
~/.okta_aws_login_config contents is as below
okta_org_url = *******
okta_auth_server =
client_id = *******
gimme_creds_server = appurl
aws_appname =
aws_rolename =
write_aws_creds = True
cred_profile = role
okta_username = *******
app_url = *******
resolve_aws_alias = False
include_path = False
preferred_mfa_type = push
remember_device = True
aws_default_duration = 3600
device_token =
output_format = json
force_classic = False
open_browser = True%
from gimme-aws-creds.
Hi @sayeedhussain, my organization is encountering the same response and has a config that appears to be roughly the same, but I don't have enough information to guarantee we have the same issue.
On further investigation, this is the error received
{'error': 'invalid_grant', 'error_description': "The application's assurance requirements are not met by the 'subject_token'."}
It would be great if you could clarify, how did you find this error message? Did you modify or debug the code to inspect the response object? Any specifics would be helpful!
from gimme-aws-creds.
Related Issues (20)
- Unable to use comments in .okta_aws_login_config HOT 4
- Got exception when running on windows 10 HOT 3
- Custom Domains Allowed in okta_org_url But Not app_url HOT 1
- 2 okta push instead of 1 HOT 4
- 400 Client Error: Bad Request for url https://trial-888888.okta.com/oauth2/v1/token HOT 3
- gimme-aws-creds command throw the error HOT 1
- User is forced to select mfa factor if they have setup both Okta Verify and Google Authenticator HOT 1
- Exception when encountering step-up auth with Duo Universal Prompt HOT 3
- open_browser doesn't work from config file HOT 1
- version 2.8 not available through brew on macOS HOT 1
- Does not work with Okta + Kolide HOT 1
- gimme-aws-creds version 2.8.0 fails with OAuth Client ID is required for Okta Identity Engine domains HOT 1
- v2.8.0 not available via Brew HOT 1
- Format of AWS profiles has changed in version 2.8.0 HOT 1
- AWS Format Roles Bug Fix for Homebrew HOT 3
- `force_classic` value is overridden by default when using profile inheritance
- Python error on Okta retrieval for 2.8.2 HOT 2
- README: Prerequisites: dead link to a PDF
- Allow forcing Device Token with Okta Identity Engine
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 gimme-aws-creds.