Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Technical Concern | JwtToken of Login API

    General Discussion
    0
    1
    2
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      oaktree_priyanka last edited by

      Hi,

      We are integrating your API for my trading application and have a concern in https://smartapi.angelbroking.com/publisher-login?api_key=xxx API.

      We are facing an issue where the jwtToken token expires every 28 hours. To handle this, We have scheduled a job that triggers every 28 hours to get a new jwtToken token and save it. we then use that token to access other APIs.

      The issue is that your login API requires a TOTP (Time-Based One-Time Password) in the request parameter, which is not possible to provide from a scheduled job. We cannot manually provide this every 28 hours. Please guide us on how we can achieve this. If you can provide any API to get the TOTP, that would resolve the issue. Alternatively, if we can get the jwtToken token without TOTP, that would also work.

      Please let us know the solution.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post