Skip to content

Commit

Permalink
Merge pull request #67 from JonathanLorimer/add-eq-instance-to-oidc
Browse files Browse the repository at this point in the history
feat: add Eq instance to OIDC
  • Loading branch information
krdlab authored Jul 29, 2024
2 parents 5f88f84 + d0bf5a3 commit 233d5ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Web/OIDC/Client/Discovery/Provider.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import Jose.Jwk (Jwk)
import Web.OIDC.Client.Types (IssuerLocation, ScopeValue)

-- | An OpenID Provider information
data Provider = Provider { configuration :: Configuration, jwkSet :: [Jwk] } deriving (Show)
data Provider = Provider { configuration :: Configuration, jwkSet :: [Jwk] } deriving (Eq, Show)

data JwsAlgJson = JwsAlgJson { getJwsAlg :: JwsAlg } | Unsupported Text deriving (Show, Eq)

Expand Down
2 changes: 1 addition & 1 deletion src/Web/OIDC/Client/Settings.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ data OIDC = OIDC
, oidcClientSecret :: ByteString
, oidcRedirectUri :: ByteString
, oidcProvider :: Provider
} deriving Show
} deriving (Eq, Show)

def :: OIDC
def = OIDC
Expand Down

0 comments on commit 233d5ee

Please sign in to comment.