Skip to content

Releases: alexcassol/magpie

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 05 Aug 13:42

Added

  • Magpie.Auth.TokenServer no longer requires a refresh token at startup.
    A server started without one sits in an unconfigured state — calls
    return a pattern-matchable
    {:error, %Magpie.Error{summary: "no_refresh_token"}} without touching
    the network — and the new set_refresh_token/3 configures it (or
    replaces the token, for re-authorization) at any time, discarding any
    cached access token unless a valid access_token/expires_at pair is
    seeded. Fresh installs whose token arrives through the OAuth callback now
    work from a plain static supervision tree
  • Magpie.Auth.authorize_url/2 accepts extra_params: (keyword list or
    map) for additional Dropbox authorization params such as
    force_reapprove, locale, require_role and disable_signup.
    Params the function already sets cannot be overridden — collisions raise
    ArgumentError

v0.2.0

Choose a tag to compare

@alexcassol alexcassol released this 05 Aug 13:15

Bump README install snippet to 0.2

v0.1.0

Choose a tag to compare

@alexcassol alexcassol released this 01 Aug 18:02

First release. See CHANGELOG. Published on hex.pm.