aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/Endpoints
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/Endpoints')
-rw-r--r--server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs18
1 files changed, 0 insertions, 18 deletions
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<string>.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);
- }
-}