diff --git a/ms-graph-api-test/app/Main.hs b/ms-graph-api-test/app/Main.hs index 603492e..1e03779 100644 --- a/ms-graph-api-test/app/Main.hs +++ b/ms-graph-api-test/app/Main.hs @@ -13,13 +13,13 @@ import qualified Data.Aeson.Encode.Pretty as A (encodePretty) import qualified Data.ByteString.Lazy.Char8 as LBS (putStrLn, pack) -- dotenv-micro import DotEnv.Micro (loadDotEnv) --- hoauth2 -import Network.OAuth.OAuth2 (OAuth2Token(..)) -import Network.OAuth2.Experiment (IdpApplication, GrantTypeFlow(..)) -- http-client import Network.HTTP.Client (Manager, newManager) -- http-client-tls import Network.HTTP.Client.TLS (tlsManagerSettings) +-- ms-auth +import MSAuth (OAuth2Token(..)) +import Network.OAuth2.Provider.AzureAD (IdpApplication, GrantTypeFlow(..)) -- req import Network.HTTP.Req (HttpConfig, runReq, defaultHttpConfig, httpConfigAltManager) -- scotty diff --git a/ms-graph-api/stack.yaml b/ms-graph-api/stack.yaml index 34a4aaf..112b4d1 100644 --- a/ms-graph-api/stack.yaml +++ b/ms-graph-api/stack.yaml @@ -43,7 +43,7 @@ extra-deps: - validation-micro-1.0.0.0 - selective-0.6 -# allow-newer: true +allow-newer: true # - acme-missiles-0.3