Skip to content

v0.5.1

Choose a tag to compare

@TFoxik TFoxik released this 16 Oct 23:21
· 8 commits to main since this release

Changes

  • refresh() raises AuthError only when Plus4U asks for a new login: an OIDC login_required, interaction_required, consent_required or account_selection_required answer, or a redirect to the Plus4U sign-in page. Any other renewal failure (Plus4U or portal errors, 429/5xx, a maintenance page, a rejected callback or a session that doesn't settle) raises EdookitConnectionError, so callers retry instead of asking for the password.
  • Renewal errors name the HTTP status, host, path and OIDC error, never the code or state. A needed login is logged at warning level.
  • README: the Plus4U sign-in cookie is set for 30 days from login(), not about 19.

No breaking changes.