diff --git a/Sources/OAuthenticator/Services/GitHub.swift b/Sources/OAuthenticator/Services/GitHub.swift index c3276b0..f0896dd 100644 --- a/Sources/OAuthenticator/Services/GitHub.swift +++ b/Sources/OAuthenticator/Services/GitHub.swift @@ -82,6 +82,7 @@ public enum GitHub { urlBuilder.queryItems = [ URLQueryItem(name: "client_id", value: credentials.clientId), URLQueryItem(name: "redirect_uri", value: credentials.callbackURL.absoluteString), + URLQueryItem(name: "scope", value: credentials.scopeString), ] if let state = parameters.state {