     consumerSecret: ProcessInfo.processInfo.environment["GITHUB_APP_SECRET"] ?? "",
     callbackURL: CallbackURL(baseURL: APP_URL, path: "/auth/github/callback"),
     scope: "user,repo"
-) { credential, request, context in
-    return Response(body: "\(credential)")
+) { credential, user, request, context in
+    return Response(body: "\(user)")
 }
 
 let googleProvider = GoogleAuthorizationProvider(

    consumerKey: ProcessInfo.processInfo.environment["FACEBOOK_APP_ID"] ?? "",
    consumerSecret: ProcessInfo.processInfo.environment["FACEBOOK_APP_SECRET"] ?? "",
    callbackURL: CallbackURL(baseURL: APP_URL, path: "/auth/facebook/callback"),
    scope: "public_profile"
) { credential, request, context in
    return Response(body: "\(credential)")
}

let githubProvider = GithubAuthorizationProvider(

    consumerSecret: ProcessInfo.processInfo.environment["INSTAGRAM_APP_SECRET"] ?? "",
    callbackURL: CallbackURL(baseURL: APP_URL, path: "/auth/instagram/callback"),
    scope: "basic"
) { credential, user, request, context in
    return Response(body: "\(credential)")
}

