On hackage the wai-middleware-auth package has constraints on hoauth2 (>=1.11 && <1.17) but this causes issues when using a more recent base and wanting to use hoauth2 >= 2.x
[__8] next goal: hoauth2 (dependency of servant-oauth2)
[__8] rejecting: hoauth2-2.14.0 (conflict: wai-middleware-auth =>
hoauth2>=1.11 && <1.17)
[__8] skipping: hoauth2-2.13.1, hoauth2-2.13.0, hoauth2-2.12.0,
hoauth2-2.11.0, hoauth2-2.10.0, hoauth2-2.9.0, hoauth2-2.8.1, hoauth2-2.8.0,
hoauth2-2.7.0, hoauth2-2.6.0, hoauth2-2.5.0, hoauth2-2.4.0, hoauth2-2.3.0,
hoauth2-2.2.0, hoauth2-2.1.0, hoauth2-2.0.0 (has the same characteristics that
caused the previous version to fail: excluded by constraint '>=1.11 && <1.17'
from 'wai-middleware-auth')
[__8] rejecting: hoauth2-1.16.2 (conflict: binary==0.8.9.1/installed-0.8.9.1,
hoauth2 => binary>=0.8.3.0 && <0.8.9)
[__8] skipping: hoauth2-1.16.1, hoauth2-1.16.0, hoauth2-1.15.0,
hoauth2-1.14.0, hoauth2-1.13.0, hoauth2-1.12.0, hoauth2-1.11.0,
hoauth2-1.10.2, hoauth2-1.10.1, hoauth2-1.9.1, hoauth2-1.9.0 (has the same
characteristics that caused the previous version to fail: excludes 'binary'
version 0.8.9.1)
[__8] rejecting: hoauth2-1.8.9 (conflict: wai-middleware-auth => hoauth2>=1.11
&& <1.17)
[__8] skipping: hoauth2-1.8.8, hoauth2-1.8.7, hoauth2-1.8.6, hoauth2-1.8.5,
hoauth2-1.8.4, hoauth2-1.8.3, hoauth2-1.8.2, hoauth2-1.8.1, hoauth2-1.8.0,
hoauth2-1.7.2, hoauth2-1.7.1, hoauth2-1.7.0, hoauth2-1.6.3, hoauth2-1.6.2,
hoauth2-1.6.1, hoauth2-1.5.1, hoauth2-1.5.0, hoauth2-1.4.0, hoauth2-1.3.0,
hoauth2-1.2.0, hoauth2-1.1.0, hoauth2-1.0.0, hoauth2-0.5.9, hoauth2-0.5.8,
hoauth2-0.5.7, hoauth2-0.5.6.0, hoauth2-0.5.5.0, hoauth2-0.5.4.0,
hoauth2-0.5.3.1, hoauth2-0.5.3, hoauth2-0.5.2, hoauth2-0.5.1, hoauth2-0.5.0.1,
hoauth2-0.5.0, hoauth2-0.4.8, hoauth2-0.4.7, hoauth2-0.4.6, hoauth2-0.4.5,
hoauth2-0.4.4, hoauth2-0.4.3, hoauth2-0.4.2, hoauth2-0.4.1, hoauth2-0.4.0,
hoauth2-0.3.7, hoauth2-0.3.6.1, hoauth2-0.3.6, hoauth2-0.3.5, hoauth2-0.3.0,
hoauth2-0.2.6, hoauth2-0.2.5.1, hoauth2-0.2.5, hoauth2-0.2.4, hoauth2-0.2.3,
hoauth2-0.2.2, hoauth2-0.2.0, hoauth2-0.1.2, hoauth2-0.1 (has the same
characteristics that caused the previous version to fail: excluded by
constraint '>=1.11 && <1.17' from 'wai-middleware-auth')
On hackage the wai-middleware-auth package has constraints on hoauth2 (>=1.11 && <1.17) but this causes issues when using a more recent base and wanting to use hoauth2 >= 2.x
Any chance these constraints could be relaxed / updated?
https://hackage.haskell.org/package/wai-middleware-auth
Thanks 🥇
Context when trying to build a project: