freckle / yesod-auth-oauth2

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

Fails to compile with hoauth2 #154

Closed jkachmar closed 2 years ago

jkachmar commented 2 years ago

yesod-auth-oauth2-0.6.3.4 fails to compile with the following errors; ping @pbrisbin.

yesod-auth-oauth2 errors ``` Preprocessing library for yesod-auth-oauth2-0.6.3.4.. Building library for yesod-auth-oauth2-0.6.3.4.. [ 7 of 24] Compiling Yesod.Auth.OAuth2.Dispatch /var/stackage/work/unpack-dir/unpacked/yesod-auth-oauth2-0.6.3.4-b91dda4741958f9 f6cb5f06094ad57334fb98554fc4408614813ce5d3163fbd9/src/Yesod/Auth/OAuth2/Dispatch .hs:107:11: error: Not in scope: ‘oauthCallback’ | 107 | { oauthCallback = Just callback | ^^^^^^^^^^^^^ /var/stackage/work/unpack-dir/unpacked/yesod-auth-oauth2-0.6.3.4-b91dda4741958f9 f6cb5f06094ad57334fb98554fc4408614813ce5d3163fbd9/src/Yesod/Auth/OAuth2/Dispatch .hs:108:11: error: Not in scope: ‘oauthOAuthorizeEndpoint’ Perhaps you meant ‘oauth2AuthorizeEndpoint’ (imported from Network.OAuth.OAu th2) | 108 | , oauthOAuthorizeEndpoint = | ^^^^^^^^^^^^^^^^^^^^^^^ -- While building package wai-middleware-auth-0.2.5.1 (scroll up to its section to see the error) using: /var/stackage/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_3. 4.1.0_ghc-9.0.2 --builddir=.stack-work/dist/x86_64-linux/Cabal-3.4.1.0 build lib :wai-middleware-auth exe:wai-auth test:spec --ghc-options "" Process exited with code: ExitFailure 1 Logs have been written to: /var/stackage/work/unpack-dir/.stack-work/logs/wa i-middleware-auth-0.2.5.1.log ```

cf. https://github.com/commercialhaskell/stackage/issues/6424

pbrisbin commented 2 years ago

Fixed in v0.7.0.0.