Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. pldbhalani
    3. Posts
    P
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by pldbhalani

    • RE: Invalid TOTP

      You can add below code to get the correct TOTP

      GoogleAuthenticator gAuth = new GoogleAuthenticator();
      int totp = gAuth.getTotpPassword(secretKey);
      

      and below dependency from https://github.com/wstrange/GoogleAuth

      <dependency>
      	<groupId>com.warrenstrange</groupId>
      	<artifactId>googleauth</artifactId>
      	<version>1.4.0</version>
      </dependency>
      
      posted in NodeJS SDK
      P
      pldbhalani