I only need to access market data, so when creating an app why do I need to enter a redirect URL?
I won’t let me create app without it. Also, I cannot delete the created app(nothing happens when clicked on delete button).
I only need to access market data, so when creating an app why do I need to enter a redirect URL?
I won’t let me create app without it. Also, I cannot delete the created app(nothing happens when clicked on delete button).
Redirect URL is required for logging into the Fyers API. We need to extract the auth code, upon successful human browser login verification, you will get it delivered in the auth_code query param appended to YOUR REDIRECT URL loaded on the browser.
You might use any random working/non-working URL to redirect YOUR browser and just extract the auth code from the URL bar, BUT that is HIGHLY NOT recommended from SECURITY perspective. Here, there is a chance that you might lose the one-time usable auth code with the random redirect url not being accessible/blocked/vanished OR expose it to unwanted bad actors listening on this random redirect url.
Best practice is to have our own server listening on our own user-specific redirect url endpoint, from which the auth code can be extracted either manually or programmatically.