mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-12 04:04:26 +00:00
Smarter approach to the cookies (#103)
* Smarter approach to the cookies - Single maxCookieSize = 1400 constant with clear documentation - Combined cookie storage for ~40-45% size reduction - Backward compatible migration from legacy cookies * Tuneup the code.
This commit is contained in:
@@ -15,10 +15,10 @@ import (
|
||||
// TestInitializeMetadata tests the initializeMetadata function
|
||||
func TestInitializeMetadata(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
providerURL string
|
||||
setupMock func() *httptest.Server
|
||||
validateFunc func(*testing.T, *TraefikOidc)
|
||||
name string
|
||||
providerURL string
|
||||
wantPanic bool
|
||||
}{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user