diff options
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); - } -} |
