aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/Endpoints/Internal/Account
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-08-19 22:39:04 +0200
committerivarlovlie <git@ivarlovlie.no>2022-08-19 22:39:04 +0200
commit14f4d824b03a0ef6ffdb1fe8b80a67f335cb4f75 (patch)
tree1e5e2be95ce1c41e918e02004e743d813b5636c7 /server/src/Endpoints/Internal/Account
parent4ab32ee8539e5055aa5270af1b42bae667d6c95f (diff)
downloadgreatoffice-14f4d824b03a0ef6ffdb1fe8b80a67f335cb4f75.tar.xz
greatoffice-14f4d824b03a0ef6ffdb1fe8b80a67f335cb4f75.zip
feat: Remove all code related to github login
Diffstat (limited to 'server/src/Endpoints/Internal/Account')
-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);
- }
-}