mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-05-30 19:35:21 -04:00
Bunch of OIDC fixes and one extra (#4126)
This commit is contained in:
@@ -7,6 +7,13 @@ using Microsoft.Extensions.Caching.Memory;
|
||||
|
||||
namespace API.Services.Store;
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="ITicketStore"/> is used as <see cref="CookieAuthenticationOptions.SessionStore"/> for the OIDC implementation
|
||||
/// The full AuthenticationTicket cannot be included in the Cookie as popular reverse proxies (like nginx) will deny the request
|
||||
/// due the large header size. Instead, the key is used.
|
||||
/// </summary>
|
||||
/// <param name="cache"></param>
|
||||
/// <remarks>Note that this store is in memory, so OIDC authenticated users are logged out after restart</remarks>
|
||||
public class CustomTicketStore(IMemoryCache cache): ITicketStore
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user