Question About Schwab API Redirect URI Setup

Discussion in 'Automated Trading' started by eric729, Aug 12, 2025 at 12:05 PM.

  1. eric729

    eric729

    Hi there,

    I’m currently working on integrating with the Schwab Trader API and I’ve successfully completed the OAuth flow—my app now shows up under “Linked Apps and Websites” in my Schwab account.

    As an individual developer without a dedicated website, I’m exploring secure options for setting up a redirect URI. I noticed that Schwab requires HTTPS. I was wondering—if you’ve integrated with Schwab’s API, could you share what kind of redirect URI setup you’re using? Are you hosting your own endpoint, using a cloud function, or leveraging a platform like Glitch or Replit? Is https://127.0.0.1/callback secure enough for real time trading?

    Any insights or recommendations would be greatly appreciated!

    Thanks in advance
     
    Last edited: Aug 12, 2025 at 12:23 PM
  2. eric729 likes this.
  3. Baron

    Baron Administrator

    I'm pretty sure that the redirect would need to be a publicly accessible URL, and not one that would only have relevance to your local network like the 127.0.0.1 does. Is there a reason why you are reluctant to set up a public facing website to facilitate the redirect?
     
    eric729 likes this.
  4. eric729

    eric729

    Thank you very much for your advice. Simple answer: yes:)
     
  5. eric729

    eric729

    I meant security reason. Currently I intend to use postman without sync and I heard it is quite secure.