freckle / yesod-auth-oauth2

OAuth2 authentication for yesod
MIT License
71 stars 53 forks source link

Support hoauth2-2.2/3 #157

Closed pbrisbin closed 2 years ago

pbrisbin commented 2 years ago

This required a lot of CPP refactoring and extension. I plan to shift our lower bound and target only the newer hoauth2 soon, but I'd like to get out a compatible version first, which this aims to do.

The comments in Compat.hs try to explain the gymnastics we have to endure to get there. I'm sorry, it's not ideal.

pbrisbin commented 2 years ago

Yup, stack.yaml is v18 and has hoauth2-1.16. The older resolvers are even older, but I'm not sure what exactly.

https://www.stackage.org/package/hoauth2/snapshots