Navigation

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

    Hemanand

    @Hemanand

    0
    Reputation
    5
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Hemanand Follow

    Best posts made by Hemanand

    This user hasn't posted anything yet.

    Latest posts made by Hemanand

    • RE: Unable to login: stuck at Enter Pin

      Same for my accounts as well.. Looking at the apps configuration at https://smartapi.angelbroking.com/apps, seems active app is missing

      posted in Bugs
      H
      Hemanand
    • generateToken throws error NodeJS SDK

      There seems to issue with smartapi-javascript nodejs sdk.. In file smartapi-connect.js, generateToken method,

      there is issue with setting public token statement. Current statement,

      self.setPublicToken(token_data.data.refreshToken);

      This should be,

      self.setPublicToken(response.data.refreshToken);

      posted in Bugs
      H
      Hemanand
    • ERROR in generateToken function

      There seems to issue with smartapi-javascript nodejs sdk.. In file smartapi-connect.js, generateToken method,

      there is issue with setting public token statement. Current statement,

      self.setPublicToken(token_data.data.refreshToken);

      This should be,

      self.setPublicToken(response.data.refreshToken);

      posted in Bugs
      H
      Hemanand
    • Login flow without password / username

      @administrators @SmartAPI-Group

      Could someone help me in understanding to implement login flow without username / password. But by using oauth flow like using public SmartAPI login endpoint

      https://smartapi.angelbroking.com/publisher-login?api_key=xxx

      Its mentioned after successful login, user gets redirected to the URL specified under MyApps. With the URL we pass auth_token & feed_token as query parameters.

      The redirection indeed works, but I get only "auth_token" & "feed_token"

      But in docs mentioned, need "access_token" to make any further transactions.

      Documentation is not very clear on this login flow and also forum / FAQ not much help. Could you share input on how exactly this flow is implemented ?

      Thanks.

      posted in Bugs
      H
      Hemanand
    • Login without using username & password

      Could you share how to implement login flow without using username, password & TOTP.. So more using oauth 2 kinda flow.

      From doc, could see for oauth login url would be https://smartapi.angelbroking.com/publisher-login?api_key=xxx

      which then redirects to the url mentioned in the app with auth_token & feed_token as query parameters.

      As part of generate token api, we need refreshToken api as request paylod but how to get that ?

      Could you share detailed steps how to implement this login flow ? Or smart api does not support such login flow ?

      posted in Bugs
      H
      Hemanand