mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-09-10 19:34:56 +02:00
Merge 5f37a521ba into 1dcbb2dbc1
This commit is contained in:
commit
cefa41b2f1
@ -75,7 +75,7 @@ oauth2GithubScoped :: YesodAuth m
|
||||
-> Text -- ^ Client Secret
|
||||
-> [Text] -- ^ List of scopes to request
|
||||
-> AuthPlugin m
|
||||
oauth2GithubScoped clientId clientSecret scopes = authOAuth2 "github" oauth fetchGithubProfile
|
||||
oauth2GithubScoped clientId clientSecret scopes = authOAuth2 "GitHub" oauth fetchGithubProfile
|
||||
where
|
||||
oauth = OAuth2
|
||||
{ oauthClientId = encodeUtf8 clientId
|
||||
|
||||
Loading…
Reference in New Issue
Block a user