diff options
Diffstat (limited to 'server/src/Endpoints/Internal')
| -rw-r--r-- | server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs b/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs index d7dceeb..055820c 100644 --- a/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs +++ b/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs @@ -1,4 +1,4 @@ -using AspNet.Security.OAuth.GitHub; +//using AspNet.Security.OAuth.GitHub; namespace IOL.GreatOffice.Api.Endpoints.Internal.Account; @@ -10,9 +10,9 @@ public class CreateGithubSessionRoute : RouteBaseSync.WithRequest<string>.WithAc [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); + // return Challenge(new AuthenticationProperties { + // RedirectUri = next + // }, + // GitHubAuthenticationDefaults.AuthenticationScheme); } } |
