URL:
https://github.com/freeipa/freeipa/pull/3954
Author: tiran
Title: #3954: [Backport][ipa-4-8] Integration tests for OTP token
Action: opened
PR body:
"""
Manual backport of PR #3951
Add integration tests to verify HOTP, TOTP, service with OTP auth indicator, and OTP token
sync.
Fix otptoken_sync plugin
The plugin had two bugs:
For one it did not work under Python 3 because urlencode() returns a string but
HTTPSHandler expects bytes as data argument.
The primary key field name is not available in client plugins. Just pass the token name
and let server code convert the name to DN.
Fixes:
https://pagure.io/freeipa/issue/7804
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3954/head:pr3954
git checkout pr3954