API api-t1.fyers.in generate auth token redirect to login page again

I’m a developer and created a connected app & when I log in using my account it works but when I try to log in to any other account it asks for the phone number, OTP and then pin but it redirects back to the login page again

https://api-t1.fyers.in/api/v3/generate-authcode?client_id=-100&redirect_uri=https://sample.page.app/redirect&response_type=code&state=MyAuthorizationState

Hey @vaisakh_prakash

Could you please check the App ID / Redirect URL being passed . Could you please DM your inputs so that we can check and help yoiu regarding the same

I am able to log in using my Fyers account, but when I try to log in using any other account, it redirects to the login page again. If the AppID/Redirect URL was wrong, then I could not log in, right? Why does this happen only for other accounts?

@WWhYB2qrsx Do you have any idea about this issue?

Hi @vaisakh_prakash,

For other accounts, you must use the API key and secret ID generated specifically for that account. The same API key and details (your API key and details) cannot be used for multiple accounts.

@naresh_janagama Thanks for your response. But how can we give our app to multiple users if we have to log in to their accounts, create a connected app for each user, and configure that App ID and secret individually? Does that make sense?