Add missing prefix on cookie name
This commit is contained in:
parent
7a624ba5be
commit
6c2f6d245b
|
|
@ -8,14 +8,15 @@ using Microsoft.AspNetCore.Server.Testing;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Microsoft.Extensions.Logging.Internal;
|
using Microsoft.Extensions.Logging.Internal;
|
||||||
using Microsoft.AspNetCore.Identity;
|
using Microsoft.AspNetCore.Identity;
|
||||||
|
using Microsoft.AspNetCore.Authentication.Cookies;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace E2ETests
|
namespace E2ETests
|
||||||
{
|
{
|
||||||
public partial class Validator
|
public partial class Validator
|
||||||
{
|
{
|
||||||
private static readonly string IdentityCookieName = new IdentityCookieOptions().ApplicationCookieAuthenticationScheme;
|
private static readonly string IdentityCookieName = CookieAuthenticationDefaults.CookiePrefix + new IdentityCookieOptions().ApplicationCookieAuthenticationScheme;
|
||||||
private static readonly string ExternalLoginCookieName = new IdentityCookieOptions().ExternalCookieAuthenticationScheme;
|
private static readonly string ExternalLoginCookieName = CookieAuthenticationDefaults.CookiePrefix + new IdentityCookieOptions().ExternalCookieAuthenticationScheme;
|
||||||
private HttpClient _httpClient;
|
private HttpClient _httpClient;
|
||||||
|
|
||||||
private HttpClientHandler _httpClientHandler;
|
private HttpClientHandler _httpClientHandler;
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNetCore.Identity": "1.0.0-*",
|
"Microsoft.AspNetCore.Identity": "1.0.0-*",
|
||||||
|
"Microsoft.AspNetCore.Authentication.Cookies": "1.0.0-*",
|
||||||
"Microsoft.AspNetCore.Authentication.OpenIdConnect": "0.1.0-*",
|
"Microsoft.AspNetCore.Authentication.OpenIdConnect": "0.1.0-*",
|
||||||
"Microsoft.AspNetCore.Server.Testing": "1.0.0-*",
|
"Microsoft.AspNetCore.Server.Testing": "1.0.0-*",
|
||||||
"Microsoft.AspNetCore.WebUtilities": "1.0.0-*",
|
"Microsoft.AspNetCore.WebUtilities": "1.0.0-*",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue