Skip to content

Useragent not sent in health check call #33

@AaronAtDuo

Description

@AaronAtDuo

Description

The useragent string that identifies this client to Duo is not sent during the health_check call. The useragent defaults to the requests library's agent.

The token exchange does send the correct useragent: https://github.com/duosecurity/duo_universal_python/blob/main/duo_universal/client.py#L308

Expected Behavior

The same useragent string should be sent to Duo on all API calls

Actual Behavior

The health_check call sends a default request library string. The token exchange call sends the expected duo_universal_python agent.

Workarounds

None

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