Help needed for trading login using python

Hi Team,

I am writing algorithm for trading using upstox. I am following the api document.
It requires lot of things, also involves Redirect URL.
Please help me setup login automation for upstox.

App creation requires Redirect URL

can you please help with the login automation for backend algo trading