From 14f4d824b03a0ef6ffdb1fe8b80a67f335cb4f75 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Fri, 19 Aug 2022 22:39:04 +0200 Subject: feat: Remove all code related to github login --- .../Internal/Account/CreateGithubSessionRoute.cs | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs (limited to 'server/src/Endpoints/Internal/Account') diff --git a/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs b/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs deleted file mode 100644 index 055820c..0000000 --- a/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs +++ /dev/null @@ -1,18 +0,0 @@ -//using AspNet.Security.OAuth.GitHub; - -namespace IOL.GreatOffice.Api.Endpoints.Internal.Account; - -public class CreateGithubSessionRoute : RouteBaseSync.WithRequest.WithActionResult -{ - public CreateGithubSessionRoute(IConfiguration configuration) { } - - [AllowAnonymous] - [HttpGet("~/_/account/create-github-session")] - public override ActionResult Handle(string next) { - return BadRequest("This action is deprecated"); - // return Challenge(new AuthenticationProperties { - // RedirectUri = next - // }, - // GitHubAuthenticationDefaults.AuthenticationScheme); - } -} -- cgit v1.3