I am also trying to connect optiongenie to Upstox, however I noticed even though I configured the app to have the redirect URI as upstox.optiongenie.in/User/OnAuthorization. the error message shows the redirect URI as trade.optiongenie.in/User/OnAuthorization. I have to remove the https from the URI because I am a new user and the community forum doesn’t allow to me to enter more than one uri
Please find the screenshots with the exact error messages. when I manually entered the URL in a different tab
Hi @sudha801
In the Option Genie app you’ve created in my apps section of upstox, set the redirect URL to https://trade.optiongenie.in/User/OnAuthorization, as this is the URL used by Option Genie on their end.
Using this setup, I was able to successfully log in to Option Genie with Upstox.
Additionally, please ensure you are copying the correct apiKey and apiSecret from the “My Apps” section of Upstox.
I’ve attached a screenshot showing my successful login to Option Genie via Upstox.