Navigation

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

    Redirection to undefined after logging in

    General Discussion
    3
    4
    21
    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.
    • N
      naveenkamaraj79 last edited by

      Hi Team,

      I am a developer.

      I created a new app from New Login in the https://smartapi.angelone.in
      i have setup a redirect url as https://at.abc.in/angelone/re/
      ABC above is replaced with actual domain name in real.

      Now, every morning i use the link for login https://smartapi.angelone.in/publisher-login?api_key=xxx&state=statevariable
      as per smartapi documentation https://smartapi.angelbroking.com/docs/User. API Key is replaced with the actual one while logging in.

      After logging in with mobile, 6 digits otp and 4 digits pin, i am redirected to https://smartapi.angelone.in/publisher-login/undefined?auth_token=looooong token
      instead of the actual redirect url.

      This has been happening with multiple accounts.

      Please guide on fixing

      A 1 Reply Last reply Reply Quote 0
      • A
        admin last edited by

        Hi @naveenkamaraj79

        Please share error screenshot to get to know more about this issue since we can able to redirect without any issues.

        K 1 Reply Last reply Reply Quote 0
        • K
          keval @admin last edited by

          @admin getting this same issue after i have updated new app with static ip. please do needfull

          1 Reply Last reply Reply Quote 0
          • A
            admin @naveenkamaraj79 last edited by

            @naveenkamaraj79

            The redirect URL is available for the old API keys only.

            Going forward, the API product will be used by tech savvy users only, and we request the users to use 2FA using login by password API for the same.

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