Skip to content

Commit

Permalink
Merge pull request #65 from JonathanLorimer/add-oidc-show
Browse files Browse the repository at this point in the history
feat: add show instance for OIDC type
  • Loading branch information
krdlab authored Jul 16, 2024
2 parents 9bfce76 + 1696808 commit 93a64b9
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 93a64b9

Please sign in to comment.