client credential auth flow

jeenaschinnu
In the existing app creation, redirect url is mandatory one which is "user authorization grant flow". I am trying to setup "client credential auth flow" and in that case there wont be any redirect url. please suggest on this
  • sujith
    Are you automating login?
  • jeenaschinnu
    not necessarily login working to setup a cron job for order management
  • SRIJAN
    Redirect url is mandatory beacuse exchange makes it mandatory for a user to login manually once each day. That's why user Authorization grant flow is used. You can login once at beginning of day,and then do whatever you want.
  • jeenaschinnu
    so we need to generate a token on behalf of a user right?
  • SRIJAN
    Yes. Generate request token and use it to generate access token. This access token will be vaild for 1 whole day.
  • SRIJAN
    Wait,do you need multi-user access??
  • jeenaschinnu
    if that the case we will be able go generate right?
  • sujith
    @jeenaschinnu,
    Your end user will have to manually login and then redirected to redirect URL with request token and you can generate the session from there.
    Before all these, you will need to speak to compliance and check if you can do it. You can write to them on kiteconnect(at)zerodha.com. Make sure you include complete information about your product.
Sign In or Register to comment.