Unable to Login with New app Client Id

purvesh
Hello

I am unable to get the request token - can you please help me in the same

https://kite.zerodha.com/connect/login?api_key=oyhxonlgsp6wei0z

I am new to kite connect so here if i want access_token then i have to do login form this url right ?

But my question is with witch credentials i can do login here ?

And can i do login with PHP library with adding authentication detail which i have ?

sorry for silly questions.
  • sujith
    Hi @purvesh,
    You need to log in using your Zerodha client id and password.
    It is mandatory by the exchange that user has to log in manually at least once a day. Hence you will have to use a browser for login.
    We don't recommend login automation.
  • purvesh
    But when i try to login with this detail it's saying

    {
    "error_type": "ForbiddenError",
    "message": "The user is not enabled on the app.",
    "status": "error"
    }

    or it's say invalid login details and send me back on login page.
  • sujith
    Hi @purvesh,
    All Kite Connect apps are restricted to one client id. You need to use same client id with which you have created the app.
  • purvesh
    HI @sujith

    M using same detail but m not able to get success in login. can you please help me out m getting same message every time.

    {
    "error_type": "ForbiddenError",
    "message": "The user is not enabled on the app.",
    "status": "error"
    }

    The user is not enabled on the app.

    So do i need to enable anything ?
  • sujith
    Hi @purvesh,
    After login, did you give permission?
    As a kite user, you need to give permission to the third party app to allow access your data and place orders.
    This is only for the first time.
    If you did give permission and still not working then send me your client id in private message.
Sign In or Register to comment.