https://github.com/robocorp/example-mfa-otp
Example of using Multi Factor Authentication with One Time Password
https://github.com/robocorp/example-mfa-otp
Last synced: 4 months ago
JSON representation
Example of using Multi Factor Authentication with One Time Password
- Host: GitHub
- URL: https://github.com/robocorp/example-mfa-otp
- Owner: robocorp
- License: apache-2.0
- Created: 2022-09-12T10:19:53.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-27T06:10:32.000Z (over 3 years ago)
- Last Synced: 2025-01-09T09:26:56.187Z (over 1 year ago)
- Language: RobotFramework
- Size: 4.65 MB
- Stars: 2
- Watchers: 16
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Automating Multi-Factor Authentication (MFA)
With the `RPA.MFA` wrapping [pyotp](https://pypi.org/project/pyotp/) library, you can generate one-time passwords to sign in to services and sites that enforce multi-factor authentication.
The common setup flow is as follows:
1. Login into the web platform as usual, then go to security settings and register a new authenticator app (as you normally do with Google Authenticator or Authy).
1. Proceed throughout the instructions and choose "different auth app" if such an option is available.
1. You'll get to a QR code that contains a secret key.
1. Store the secret securely in the Robocorp Control Room Vault.
1. Scanning the QR code with your mobile app will enable you to finish the registration process quickly.
1. Finish registration by entering the 6-digit code obtained with your smartphone or the `Get Time/Counter Based Otp` keyword.
Now you should be able to authenticate with your usual credentials and the immediately requested OTP without any manual intervention, fully automated!
## Examples
### Microsoft
https://mysignins.microsoft.com/security-info
1. Add a sign-in method 
1. Authenticator app 
1. QR code and secret 
1. Code confirmation 
### GitHub
https://github.com/settings/security
1. Configure authenticator app 
1. App setup 
1. QR code and secret 
### Google
https://myaccount.google.com/security
1. 2-Step Verification 
1. Authenticator app 
1. Change authenticator 
1. QR code 
1. QR secret 