hoauth2
hoauth2 copied to clipboard
Haskell oauth2 binding
PCKE
https://www.oauth.com/oauth2-servers/pkce/
``` {-# LANGUAGE ScopedTypeVariables, TypeApplications #-} class ExampleClass a where sometext :: Text instance ExampleClass Int where sometext = "This is an Int" instance ExampleClass Double where sometext = "This...
Change from `Maybe (URIRef Absolute)` to `(URIRef Absolute)`
Certain responses (like 401) from the OAuth provider can cause exceptions to be thrown when calling `authGetJSON`. This is problematic because Yesod displays exceptions to the end user automatically, which...
- https://github.com/freizl/hoauth2/pull/61 - Why `OAuth2Error error` instead of `OAuth2Error` ? - looks like was trying to use same data type for both Auth code error and Token request error. -...
- keep standard way to request access token and auth request in `HttpClient.hs` - move none-standard ways to `x.y.z.Extra.hs` - only take care request (JSON or FORM post) and response...
CSRF
- https://tools.ietf.org/html/rfc6749#section-10.12 - either allow consumer to specific its own state or generate one by default.
> Damian Soriano (Gmail) to me Aug 8 > Hi! > > I am creating a Haskell application that connects go bigquery. I wanted to use your OAuth2 lib to...