Navigation

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

    redirect issue

    General Discussion
    5
    14
    28
    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.
    • K
      keval last edited by

      https://smartapi.angelone.in/publisher-login/undefined?auth_token=****
      after chages my static ip and adding new app i am unable to redirect to my url

      A 1 Reply Last reply Reply Quote 0
      • A
        algo_trading_50 @keval last edited by

        @keval Most probably, a misconfigured API app. auth_token should always be received on your personal URL.

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

          @algo_trading_50 I am getting auth_token but it is not redirected to my defined redirected url instead it is redirected to this
          https://smartapi.angelone.in/publisher-login/undefined?auth_token=****
          url

          A 1 Reply Last reply Reply Quote 0
          • A
            algo_trading_50 @keval last edited by

            @keval Maybe your internal code could be doing this. Server always redirects to the user defined redirect url.

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

              @algo_trading_50 after login i am redirect to direct https://smartapi.angelone.in/publisher-login/undefined?auth_token=****
              this url also same problem registered by one user.
              kbt8212@gmail.com mail me if we can connect. will show you issue.

              A 1 Reply Last reply Reply Quote 0
              • A
                algo_trading_50 @keval last edited by

                @keval DM me on SimpleX, link in my profile.

                A 1 Reply Last reply Reply Quote 0
                • A
                  anish2208 @algo_trading_50 last edited by

                  @algo_trading_50 even i am facing the same undefined issue

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    algo_trading_50 @anish2208 last edited by

                    @anish2208 Publisher APIs are no longer supported in the "New Login" API apps.

                    1 Reply Last reply Reply Quote 0
                    • R
                      rajk123 last edited by

                      @algo_trading_50 Thanks for the info. But then how would retail traders deploy web apps?

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        algo_trading_50 @rajk123 last edited by

                        @rajk123 You have to do login authentication via code as per the documentation. Make sure the API app is created from "New Login".

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          rajk123 @algo_trading_50 last edited by

                          @algo_trading_50 ok but this is against SEBI rules.. SEBI clearly mentioned that brokers must only allow Oauth broker based authentication going forward and Ange one is doing all sorts of non-compliant things here

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            algo_trading_50 @rajk123 last edited by

                            @rajk123 Kindly read SEBI rules against as well as my comment again. I had mentioned the same, that the OAUTH needs to be done programmatically using APIs only.

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

                              @keval the redirect URL is valid for only the old API key.

                              Redirect URL for new API key will be updated soon.

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

                                @algo_trading_50 In their latest circulars, exchanges have given an option for either OAuth or 2FA login.

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