1. Authentication & Login Flow - User Apps. Does it conform to OAuth2? 2. Do you issue Refresh Token? (The refresh token is used to get a new access token, when the old one expires.) If not then what?

  1. Authentication & Login Flow - User Apps. Does it conform to OAuth2? 2. Do you issue Refresh Token? (The refresh token is used to get a new access token, when the old one expires.) If not then what?

Hi Hamza,
It conforms to OAuth2, when access token expires, a new one can be generated.

  1. What is the (duration) lifetime of the access token issued?
  2. How would I know that my access token has expired? What error code would be generated by the api which would indicate expired access token?
  3. When you say ‘new one can be generated’ does you mean doing the entire OAuth2 authentication sequence again (client_id, appIdHash) ? If that is the case then it is not a refresh token, it is a new access token. (The refresh token normally is sent together with the access token) The refresh token use case is not covered by Fyers Api I guess because I did not find any mention of refresh token on the api docs.
  4. The file to access Api error codes and messages https://myapi.fyers.in/docs/#section/Error-codes-and-messages is not found https://docs.google.com/spreadsheets/d/12NJDCYW6X07tN9U12boQAw1bOwHvofV_1rl0XjeAPdI/edit?usp=sharing . Please re upload the file.