Skip to content

FactoryTalk-Optix/OneTimePasscode

Repository files navigation

OTP Demo with FT Optix

Designtime setup

  1. Install package GoogleAuthenticator by Brandon Potter (tested version 3.0.0)
  2. Add <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> after <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> in csproj file
  3. Compile

Runtime setup

  1. Click on the tab to add device
  2. Generate QR Code
  3. Scan QR code with GoogleAuthenticator app
  4. Move to CheckPin page
  5. Type OTP code and hit enter. LED will show the validation result

Known issues

  • Key should be stored to a persistent file and reloaded at every reboot of the machine to avoid readding device at every reboot of the application

Disclaimer

Rockwell Automation maintains these repositories as a convenience to you and other users. Although Rockwell Automation reserves the right at any time and for any reason to refuse access to edit or remove content from this Repository, you acknowledge and agree to accept sole responsibility and liability for any Repository content posted, transmitted, downloaded, or used by you. Rockwell Automation has no obligation to monitor or update Repository content

The examples provided are to be used as a reference for building your own application and should not be used in production as-is. It is recommended to adapt the example for the purpose, observing the highest safety standards.