diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-08-19 22:39:04 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-08-19 22:39:04 +0200 |
| commit | 14f4d824b03a0ef6ffdb1fe8b80a67f335cb4f75 (patch) | |
| tree | 1e5e2be95ce1c41e918e02004e743d813b5636c7 /server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs | |
| parent | 4ab32ee8539e5055aa5270af1b42bae667d6c95f (diff) | |
| download | greatoffice-14f4d824b03a0ef6ffdb1fe8b80a67f335cb4f75.tar.xz greatoffice-14f4d824b03a0ef6ffdb1fe8b80a67f335cb4f75.zip | |
feat: Remove all code related to github login
Diffstat (limited to 'server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs')
| -rw-r--r-- | server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs | 18 |
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); - } -} |
