Skip to content

Custom MFA handler doesn't seem to work? #86

@cyberjunky

Description

@cyberjunky

Opening a new ticket since the old one was closed and full of api changes.

It seems the garth.login method always returns None when a MFA enabled account is used and return_on_mfa=True

  result = self.garth.login(
      self.username, self.password, return_on_mfa=True
  )

I believe garth.login -> client.login which is http.login which points to sso.login
But http.login doesn't return the same args

Can you shed a light, see what I do wrong, or if there is a bug?

variable title is holding "MFA" in sso.login, but the returned dict never ends up in garth.login (= None)

Running with garth 0.5.2 btw, trying to adapt my example.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions