OAuth API not working?

Hey there, I’m attempting to integrate OAuth to a trading journal website I’m making to sync previous trades so I don’t have to manually input them every day. I’m saw that there was a github repo with an OAuth example, but I believe it doesn’t work anymore. I have the correct Client ID and Client Secret but every time I click “click to authenticate” it opens tradeovate and automatically says this:

I’m not sure if this repo is out of date or if there’s something wrong on Tradeovate’s side.

Repo:
tradovate/example-api-oauth

I haven’t modified anything from this example but obviously add the env var.

I have not used OAuth as my users simply enter their credentials in a web page…

But just a note… as I was implementing the API, I found all the examples useless and not working. I had to resort to the documentation and implement everything by hand and now it is working great.

I suspect that the same might be true of OAuth… so you may want to read the docs and just start afresh.

Hey Ethan, it seems like the GitHub repo you’re using might be outdated, or there could be changes on Tradovate’s end affecting the OAuth flow. If you’re looking for a smoother way to automate the process, you might want to check out some other solutions for integrating TradingView with Tradovate. There are platforms out there that handle the automation more reliably without needing to mess with OAuth. Just a suggestion to save you time