Skip to content

Commit

Permalink
feat: add show instance for OIDC type
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanLorimer committed Jul 8, 2024
1 parent 9bfce76 commit 1696808
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] }
data Provider = Provider { configuration :: Configuration, jwkSet :: [Jwk] } deriving (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

def :: OIDC
def = OIDC
Expand Down

0 comments on commit 1696808

Please sign in to comment.