mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-11 19:58:28 +01:00
Update GitHub module in README
This commit is contained in:
parent
569a85429a
commit
c0a6f11a87
@ -6,12 +6,12 @@ OAuth2 `AuthPlugin`s for Yesod.
|
||||
|
||||
```hs
|
||||
import Yesod.Auth
|
||||
import Yesod.Auth.OAuth2.Github
|
||||
import Yesod.Auth.OAuth2.GitHub
|
||||
|
||||
instance YesodAuth App where
|
||||
-- ...
|
||||
|
||||
authPlugins _ = [oauth2Github clientId clientSecret]
|
||||
authPlugins _ = [oauth2GitHub clientId clientSecret]
|
||||
|
||||
clientId :: Text
|
||||
clientId = "..."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user