Skip to content

Commit

Permalink
Fix intermittent redirects during external auto-login (#17227)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeAlhayek authored Dec 12, 2024
1 parent 913046f commit d83bcd4
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ public Task IsLockedOutAsync(IUser user)
=> Task.CompletedTask;

public Task LoggedInAsync(IUser user)
=> Task.CompletedTask;
{
var tempData = _tempDataDictionaryFactory.GetTempData(_httpContextAccessor.HttpContext);
tempData.Remove(ExternalLoginAutoRedirectKeyName);

return Task.CompletedTask;
}

public async Task<IActionResult> LoggingInAsync()
{
Expand Down

0 comments on commit d83bcd4

Please # to comment.