Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to compile with hoauth2 #28

Open
jkachmar opened this issue Jan 31, 2022 · 0 comments
Open

Fails to compile with hoauth2 #28

jkachmar opened this issue Jan 31, 2022 · 0 comments

Comments

@jkachmar
Copy link

wai-middleware-auth-0.2.5.1 fails to compile with the following errors; ping @lehins.

wai-middleware-auth-0.2.5.1 errors
Preprocessing library for wai-middleware-auth-0.2.5.1..
Building library for wai-middleware-auth-0.2.5.1..
[ 9 of 14] Compiling Network.Wai.Middleware.Auth.OAuth2

/var/stackage/work/unpack-dir/unpacked/wai-middleware-auth-0.2.5.1-0490cc16ac6cfe0aed3c65d31e0042e73c3a40c5a87b2ae5af8d9
51913122429/src/Network/Wai/Middleware/Auth/OAuth2.hs:87:13: error:
    Not in scope: ‘oauthClientId’
    Perhaps you meant one of these:
      ‘OA2.oauth2ClientId’ (imported from Network.OAuth.OAuth2),
      ‘oa2ClientId’ (line 37)
   |
87 |           { oauthClientId = getClientId oa2ClientId
   |             ^^^^^^^^^^^^^

/var/stackage/work/unpack-dir/unpacked/wai-middleware-auth-0.2.5.1-0490cc16ac6cfe0aed3c65d31e0042e73c3a40c5a87b2ae5af8d9
51913122429/src/Network/Wai/Middleware/Auth/OAuth2.hs:88:13: error:
    Not in scope: ‘oauthClientSecret’
    Perhaps you meant one of these:
      ‘OA2.oauth2ClientSecret’ (imported from Network.OAuth.OAuth2),
      ‘oa2ClientSecret’ (line 38), ‘getClientSecret’ (line 67)
   |
88 |           , oauthClientSecret = Just $ getClientSecret oa2ClientSecret
   |             ^^^^^^^^^^^^^^^^^

/var/stackage/work/unpack-dir/unpacked/wai-middleware-auth-0.2.5.1-0490cc16ac6cfe0aed3c65d31e0042e73c3a40c5a87b2ae5af8d9
51913122429/src/Network/Wai/Middleware/Auth/OAuth2.hs:89:13: error:
    Not in scope: ‘oauthOAuthorizeEndpoint’
    Perhaps you meant one of these:
      ‘OA2.oauth2AuthorizeEndpoint’ (imported from Network.OAuth.OAuth2),
      ‘oa2AuthorizeEndpoint’ (line 39)
   |
89 |           , oauthOAuthorizeEndpoint = authEndpointURI
   |             ^^^^^^^^^^^^^^^^^^^^^^^

/var/stackage/work/unpack-dir/unpacked/wai-middleware-auth-0.2.5.1-0490cc16ac6cfe0aed3c65d31e0042e73c3a40c5a87b2ae5af8d9
51913122429/src/Network/Wai/Middleware/Auth/OAuth2.hs:90:13: error:
    Not in scope: ‘oauthAccessTokenEndpoint’
    Perhaps you meant one of these:
      ‘oa2AccessTokenEndpoint’ (line 40),
      ‘OA2.oauth2TokenEndpoint’ (imported from Network.OAuth.OAuth2)
   |
90 |           , oauthAccessTokenEndpoint = accessTokenEndpointURI
   |             ^^^^^^^^^^^^^^^^^^^^^^^^

/var/stackage/work/unpack-dir/unpacked/wai-middleware-auth-0.2.5.1-0490cc16ac6cfe0aed3c65d31e0042e73c3a40c5a87b2ae5af8d9
51913122429/src/Network/Wai/Middleware/Auth/OAuth2.hs:91:13: error:
    Not in scope: ‘oauthCallback’
   |
91 |           , oauthCallback = Just callbackURI
   |             ^^^^^^^^^^^^^

/var/stackage/work/unpack-dir/unpacked/wai-middleware-auth-0.2.5.1-0490cc16ac6cfe0aed3c65d31e0042e73c3a40c5a87b2ae5af8d9
51913122429/src/Network/Wai/Middleware/Auth/OAuth2.hs:114:19: error:
    Not in scope: ‘oauthClientId’
    Perhaps you meant one of these:
      ‘OA2.oauth2ClientId’ (imported from Network.OAuth.OAuth2),
      ‘oa2ClientId’ (line 37)
    |
114 |                 { oauthClientId = getClientId oa2ClientId
    |                   ^^^^^^^^^^^^^

/var/stackage/work/unpack-dir/unpacked/wai-middleware-auth-0.2.5.1-0490cc16ac6cfe0aed3c65d31e0042e73c3a40c5a87b2ae5af8d9
51913122429/src/Network/Wai/Middleware/Auth/OAuth2.hs:115:19: error:
    Not in scope: ‘oauthClientSecret’
    Perhaps you meant one of these:
      ‘OA2.oauth2ClientSecret’ (imported from Network.OAuth.OAuth2),
      ‘oa2ClientSecret’ (line 38), ‘getClientSecret’ (line 67)
    |
115 |                 , oauthClientSecret = Just (getClientSecret oa2ClientSecret)
    |                   ^^^^^^^^^^^^^^^^^

/var/stackage/work/unpack-dir/unpacked/wai-middleware-auth-0.2.5.1-0490cc16ac6cfe0aed3c65d31e0042e73c3a40c5a87b2ae5af8d9
51913122429/src/Network/Wai/Middleware/Auth/OAuth2.hs:116:19: error:
    Not in scope: ‘oauthOAuthorizeEndpoint’
    Perhaps you meant one of these:
      ‘OA2.oauth2AuthorizeEndpoint’ (imported from Network.OAuth.OAuth2),
      ‘oa2AuthorizeEndpoint’ (line 39)
    |
116 |                 , oauthOAuthorizeEndpoint = authEndpointURI
    |                   ^^^^^^^^^^^^^^^^^^^^^^^

/var/stackage/work/unpack-dir/unpacked/wai-middleware-auth-0.2.5.1-0490cc16ac6cfe0aed3c65d31e0042e73c3a40c5a87b2ae5af8d9
51913122429/src/Network/Wai/Middleware/Auth/OAuth2.hs:117:19: error:
    Not in scope: ‘oauthAccessTokenEndpoint’
    Perhaps you meant one of these:
      ‘oa2AccessTokenEndpoint’ (line 40),
      ‘OA2.oauth2TokenEndpoint’ (imported from Network.OAuth.OAuth2)
    |
117 |                 , oauthAccessTokenEndpoint = accessTokenEndpointURI
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^

/var/stackage/work/unpack-dir/unpacked/wai-middleware-auth-0.2.5.1-0490cc16ac6cfe0aed3c65d31e0042e73c3a40c5a87b2ae5af8d9
51913122429/src/Network/Wai/Middleware/Auth/OAuth2.hs:124:19: error:
    Not in scope: ‘oauthCallback’
    |
124 |                 , oauthCallback = Nothing
    |                   ^^^^^^^^^^^^^

cf. commercialhaskell/stackage#6424

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant