Skip to content

Enable setting ipaddr param in preauth and auth #297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brettdh
Copy link

@brettdh brettdh commented May 10, 2025

Description

In addition to the ipaddr param, this also introduces argparse to organize args better.

Motivation and Context

I wanted to test the preauth and auth APIs with the ipaddr field specified.

How Has This Been Tested?

Ran the example client, pointed at a test Duo instance. Saw ipaddr populated in authlogs.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Also introduces argparse to organize args better.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant