It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
Feature request: ability to append context in login-url and retrieve in redirect_url
edited July 2018
I have a use-case when I want to force re-login (receive new request-token) for some of the actions. But I don't find a way to come back to the previous context, as I was in the middle of something (and that action forced me to re-login) and want to continue.
If with login url:
you can accept an arbitrary query parameter and return the same query parameter appended with static redirect-url. This way user can be returned back to the context.
Ex: The app will redirect user to
The successful login will redirect user to the redirect-url, let's say,
Now kite-redirect module can process the redirect-url and handle the context.
You can use something like this
The params have to be URL encoded query params like params = encodeURL(key1=value&key2=value).
After successful redirect you will receive these params.
Thanks a lot, this helps. The discussion can be closed now.
This discussion has been closed.