-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/auth/signin
will soon be retired
#151
Comments
The web UI now does a POST https://clerk.finary.com/v1/client/sign_ins?_clerk_js_version=4.67.0 with identifier and password in the payload. Finary apparently uses https://clerk.com. There is a python SDK here : https://pypi.org/project/clerk-sdk-python/, not sure if it's needed or if it's maintained. A wrong password -> HTTP error 422 and a json payload with error Apparently the token is refreshed often. Not sure if we deal with it in this tool or we let it to the user. Maybe we can verify the token before each call ? |
Knowing all this, it's pretty simple to modify BUT, it's less easy to refresh the token without doing a signin again with the token expired. I'm working on it. Ideally, I would like the signin to be persist more than 20 seconds. @MadeInPierre what do you think ? What are the requirements for finalynx ? |
refreshing the token now works. Next step 2FA... |
Somehow the old login still works today without issues using finalynx. Deprecated but still active for some time maybe? I'll look into updating finary_uapi and try your new solution. Thanks for the work! |
I'll release a new version (0.2.0) including this fix and the crowdfunding api soon |
Version 0.2.0 is out on Pypi and supports the new signin scheme only. Main difference, there is a call to clerk.com before any call to api.finary.com |
The eng lead at Finary just announced on the community forum that /auth/signin will soon be retired in favor of a new system. I open this issue to gather information about the new system in place.
The text was updated successfully, but these errors were encountered: