diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-08-06 23:58:43 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-08-06 23:58:43 +0200 |
| commit | 13153a62c17db7c84d173434cec7eed29e4593b7 (patch) | |
| tree | cf36d52ef7f9b174d3552915e1a4b8229ee4a3d3 /server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs | |
| parent | e74ef7b3f51081674a0f6328d3af70ce01a36dbb (diff) | |
| download | greatoffice-13153a62c17db7c84d173434cec7eed29e4593b7.tar.xz greatoffice-13153a62c17db7c84d173434cec7eed29e4593b7.zip | |
refactor: Comment out old behaviour
Diffstat (limited to 'server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs')
| -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); } } |
