Closed drowzy closed 7 years ago
Howdy @drowzy! Thanks for the report but this is functioning as intended.
This was discussed quite a bit when we were working on v1 (see discussion here: https://github.com/ueberauth/guardian/pull/377#discussion_r135806789) and the decision was made to remove {MySecretKey, :fetch}
since {{MySecretKey, :fetch, []}
accomplishes the same goal while reducing the amount of code to maintain.
Im using this approach to fetch the secret key:
In v1.0.0-beta1 this does not work and fails with:
However if a supply an argument to the fetch function it works
Expected: Should be possible to provide a function which takes no arguments to resolve the secret key.