Navigation

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

    narenkram

    @narenkram

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

    narenkram Follow

    Best posts made by narenkram

    This user hasn't posted anything yet.

    Latest posts made by narenkram

    • Clarification Needed: WebSocket Implementation for Trading Platforms without Client Code

      82f1b3b4-e584-4382-b4b0-a36f47adb754-image.png

      Dear Angel One Team,

      I'm developing a trading platform that needs to integrate with Angel One's real-time data feed. After reviewing the WebSocket documentation (https://smartapi.angelbroking.com/docs/WebSocket2), I have some concerns about the implementation approach.

      The current documentation suggests that a client code is required for WebSocket connections. However, as a platform provider, I need to:

      1. Connect to real-time data feeds without individual client codes
      2. Serve multiple users through a single platform connection
      3. Maintain a scalable architecture for multiple concurrent users

      Questions:

      • Is there a separate API documentation for platform-level WebSocket integration?
      • Do you provide a different authentication mechanism for platforms vs individual traders?
      • What is the recommended approach for implementing real-time data feeds at a platform level?

      I would greatly appreciate any clarification on the proper implementation path for trading platforms.

      Thank you for your assistance.

      posted in General Discussion
      N
      narenkram
    • User Login Flow is Broken and Flawed

      Angel One SmartAPI User Login Flow Issue

      Issue Description:
      When integrating Angel One's SmartAPI user login (https://smartapi.angelone.in/publisher-login), we're encountering issues with the login response handling. The login window remains static after authentication, and we're unable to capture the response or redirect back to our application.

      Current Behavior:

      1. Login window opens successfully
      2. User authenticates
      3. Response is received (visible in Network tab):
      json
      {
      "status": 302,
      "url": "https://steadfastapp.in/angelone/redirect",
      "data": {
      "jwtToken": "...",
      "refreshToken": "...",
      "feedToken": "..."
      }
      }
      
      1. But the window remains open and static

      Attempted Solutions:

      1. Direct response capture using MutationObserver
      2. Response interception using injected scripts
      3. Redirect URL handling

      Request:

      1. Please add support for localhost URLs during development (http://localhost:*)
      2. Consider implementing a proper OAuth2 redirect flow similar to other brokers

      Why localhost support matters:

      • Essential for local development and testing
      • Industry standard practice (used by Zerodha, Flattrade)
      • Speeds up integration and reduces development time
      • Helps in debugging and testing security implementations

      Demo Video:
      Link to screen recording showing the login window staying open after authentication

      Would appreciate guidance on the recommended way to handle the authentication flow during development. Thanks!

      #smartapi #authentication #development

      posted in Bugs
      N
      narenkram
    • RE: Issue with Localhost Redirect URL in Smart API

      @Moderator_3 Why? how do you expect us to develop apps on SmartAPI if localhost cannot be used? is there way to overcome this?

      posted in General Discussion
      N
      narenkram