Skip to content

Updated signin page breaks sign in #66

@dsloanather

Description

@dsloanather

The UI changed and soup needs to be updated with the correct elements

  File "/opt/homebrew/bin/aws-okta-processor", line 8, in <module>
    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'```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions