Skip to content

Fails to compile with hoauth2 #28

@jkachmar

Description

@jkachmar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions