loginWithGitHub static method
GitHub OAuth - returns user data without saving
Implementation
static Future<Map<String, dynamic>> loginWithGitHub({
required String code,
String? callbackPath,
}) async {
return GitHubProvider.authenticate(
code: code,
callbackPath: callbackPath,
clientId: config.githubClientId,
clientSecret: config.githubClientSecret,
redirectBase: config.redirectBase,
);
}