Releases: alexcassol/magpie
Releases · alexcassol/magpie
Release list
v0.2.1
Added
Magpie.Auth.TokenServerno 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 newset_refresh_token/3configures it (or
replaces the token, for re-authorization) at any time, discarding any
cached access token unless a validaccess_token/expires_atpair is
seeded. Fresh installs whose token arrives through the OAuth callback now
work from a plain static supervision treeMagpie.Auth.authorize_url/2acceptsextra_params:(keyword list or
map) for additional Dropbox authorization params such as
force_reapprove,locale,require_roleanddisable_signup.
Params the function already sets cannot be overridden — collisions raise
ArgumentError