Fyers access token gets generated for different App than I requested for. hence any api calls fail!

Fyers access token gets generated for different App than I requested for. hence any api calls fail!

Hi @mahesh_s1 ,
Sorry for the issue you are facing ,
Can you please elaborate the issue a little more and please share some more details,
Please kindly DM , if you don’t wish to share your code details here,

I am trying to generate accesstoken to call the fyers apis for my app key

From the following URL when I try to generate the token

https://api.fyers.in/api/v2/generate-authcode?client_id=-100&redirect_uri=https%3A%2F%2Fmyaccount.fyers.in%2F&response_type=code&state=None

I get the following some token

when I pasted this token in https://jwt.io/ it says it is for a different app Id altogether

s=accessToken.SessionModel(client_id=app_id,

                                           secret_key=api_secret,redirect_uri=redirect_uri,

                                           response_type='code', grant_type='authorization_code',state= None )

    s.redirect_uri = redirect_uri

    print('URL: %s\n' % s.redirect_uri)

I use this URI to login to generate the access token

Once we moved to PIN based since this Monday, I get access token for completely different app!

@sAEUMrwqX1 any update ?