Closed lf- closed 4 years ago
hoauth2 API at some point since 1.8.3 (EDIT: changed in 1.9.0), where
authGetBS
used to return...
I vaguely remember this, and I think it was the exact reason for the <1.9
bound before 0036d5f. I must've missed that the upper bound was also changing in that commit.
So, I think what your saying is that:
- - hoauth2 >=1.3.0 && <1.9
+ - hoauth2 >=1.7.0 && <1.11
Should've been:
- - hoauth2 >=1.3.0 && <1.9
+ - hoauth2 >=1.7.0 && <1.9
I'll tighten that back up now.
It would be nice to have support for a newer hoauth2 as 1.8.0 is fairly old.
Yeah that's #137 , I just wanted to get the build fixed first.
Would you mind tightening the bound on hackage as well, either through a metadata revision or a patch release? I just ran into this issue as well.
Awesome, thanks!
I am encountering a confusing issue building this library, apparently caused by a change in the hoauth2 API at some point since 1.8.3 (EDIT: changed in 1.9.0), where
authGetBS
used to return anIO (Either (OAuth2Error Value) ByteString)
and now returnsIO (Either ByteString ByteString)
. This breakage seems somewhat surprising given the message for https://github.com/thoughtbot/yesod-auth-oauth2/commit/0036d5f4e0e632e7ee757b6d1de8410ceee6f31f along with the latest changelog.To reproduce: add this to the
stack.yaml
Failing:
Working result from running stack repl without changing the hoauth2 version: