bunq / sdk_python

Python SDK for bunq API
MIT License
106 stars 26 forks source link

Auto save the session after automatic session reset has been executed  #65

Closed OGKevin closed 6 years ago

OGKevin commented 6 years ago

Steps to reproduce:

  1. Make a request with an expired session

What should happen:

  1. The session gets automatically reset before the actual call is made.
  2. The reset session should be saved after the reset. So that the next call has a fresh new session, instead of resetting the session again.
  3. The user should be able to turn the automatic session save off.

What happens:

  1. If implemented incorrectly, users will make 6 calls to session-server within 2 seconds because on each call the session needs to be reset.

Logs

Extra info:

Reference

needs #78