howtos/clean_2f_tokens.md

23 lines
742 B
Markdown
Raw Permalink Normal View History

2021-04-08 11:24:34 +01:00
# How to remove 2 factor authentication tokens in IPA using ui
2021-04-07 11:40:17 +01:00
* log into `https://id.fedoraproject.org/ipa/ui/` using noggin credentials
2021-04-07 11:40:17 +01:00
* Click on the `Authentication` tab
2021-04-07 11:40:17 +01:00
* Click on the `OTP Tokens` sub tab
2021-04-07 11:40:17 +01:00
* Enter the username into the search bar. This will display a list of tokens associated with the user.
2021-04-07 11:40:17 +01:00
* Select the desired token and click delete. A popup will appear, click delete again to confirm.
2021-04-08 11:24:34 +01:00
# How to remove 2 factor authentication tokens in IPA using cli
* kinit as user with admin privileges on ipa server
* Run `ipa otptoken-find --owner=<username>`
* A list of the users otp tokens will be displayed. Copy `Unique ID` vlaue of the desired token
* Run `ipa otptoken-del <Unique_ID>`. The token is now removed