Cookies in redirect URL

hmatadhi
Hello,
The redirect URL sends only status and request_token.

I want to set some cookies to track which user id requested the login. Apparently I want to write my app for multiple users (me and my relatives), who may simultaneously login.

If I set some cookies in the initial login to get request_token, will that be passed back?

Regards,
Harsha
  • sujith
    Hi Harsha,
    KiteConnect​ by default is enabled only for single user. Please write to talk(at) rainmatter.com, someone​ from our team will get back to you.
  • hmatadhi
    Thank you Sujith.
    I saw that for multiple logins there is a different pricing.

    So I thought, I will develop it first for myself. Once it is successful, I will upgrade to multiple users.
  • sujith
    Hi @hmatadhi,
    Check out login flow here https://kite.trade/docs/connect/v1/#login-flow , if you request for access token, then you will get all details with it.
    Every http request is authenticated using access token.
  • hmatadhi
    Hi Sujith,
    True you pass user_metadata with access token. However to request access_token, I need to pass api_key which is dependent on user. Since the flow is asynchronous I think we need to pass a user cookie which should be passed back transparently. Currently I see that only status and request_tokens are passed in the response to initial request for request_token. That was the question.
    Regards,
    Harsha
  • sujith
    Hi @hmatadhi,
    Authentication is not complete unless you get the access token. I am afraid, we can't provide any data unless authentication is complete.
    KiteConnect is strictly for a single user or for platform development which can be used by mass retail users. I think you need to check with compliance before building your app. Please send a mail to talk(at)rainmatter.com, someone from our team will get back to you.
Sign In or Register to comment.