tgtg-python icon indicating copy to clipboard operation
tgtg-python copied to clipboard

Refactor Login to Support Manual Polling

Open SuperLanceur opened this issue 1 year ago • 2 comments

When using this as a library, it will allow a more flexible login process by separating the polling ID retrieval from the automatic polling. You can now call request_polling_id to get the polling ID, wait for the user to click the link in the email, and then call complete_login_with_polling_id with the polling ID to obtain the tokens. This change maintains backward compatibility by using these new methods within the existing login method.

Related to issue #306

SuperLanceur avatar Jun 05 '24 20:06 SuperLanceur

Thanks @SuperLanceur ! Can you update the readme with this new way of handling login ?

ahivert avatar Aug 14 '24 13:08 ahivert

Done @ahivert ! The README now explains how to login in this way.

SuperLanceur avatar Sep 01 '24 01:09 SuperLanceur

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 31 '25 22:01 stale[bot]