godaddy / godaddy/aws-okta-processor
Updated signin page breaks sign in
- Dominant language
- Python
- Stars
- 90
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
The UI changed and soup needs to be updated with the correct elements
```Error when retrieving credentials from custom-process: Traceback (most recent call last):
File "/opt/homebrew/bin/aws-okta-processor", line 8, in
sys.exit(main())
File "/opt/homebrew/lib/python3.10/site-packages/aws_okta_processor/cli.py", line 37, in main
command.run()
File "/opt/homebrew/lib/python3.10/site-packages/aws_okta_processor/commands/authenticate.py", line 104, in run
credentials = self.authenticate()
File "/opt/homebrew/lib/python3.10/site-packages/aws_okta_processor/commands/authenticate.py", line 98, in authenticate
credentials = saml_fetcher.fetch_credentials()
File "/opt/homebrew/lib/python3.10/site-packages/aws_okta_processor/core/fetcher.py", line 39, in fetch_credentials
credentials = super(SAMLFetcher, self).fetch_credentials()
File "/opt/homebrew/lib/python3.10/site-packages/botocore/credentials.py", line 657, in fetch_credentials
return self._get_cached_credentials()
File "/opt/homebrew/lib/python3.10/site-packages/botocore/credentials.py", line 667, in _get_cached_credentials
response = self._get_credentials()
File "/opt/homebrew/lib/python3.10/site-packages/aws_okta_processor/core/fetcher.py", line 136, in _get_credentials
aws_roles, saml_assertion, _application_url, user, _organization = self._get_app_roles()
File "/opt/homebrew/lib/python3.10/site-packages/aws_okta_processor/core/fetcher.py", line 106, in _get_app_roles
aws_roles = saml.get_aws_roles(
File "/opt/homebrew/lib/python3.10/site-packages/aws_okta_processor/core/saml.py", line 68, in get_aws_roles
account_roles = get_account_roles(
File "/opt/homebrew/lib/python3.10/site-packages/aws_okta_processor/core/saml.py", line 107, in get_account_roles
accounts = soup.find('fieldset').find_all(
AttributeError: 'NoneType' object has no attribute 'find_all'```
Contributor guide
Assessment
This issue has not been assessed yet.