mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-18 04:47:28 +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:
+2
-2
@@ -81,11 +81,11 @@ func TestIsTestMode_DefaultBehavior(t *testing.T) {
|
||||
// TestVerifyAudience tests the verifyAudience function
|
||||
func TestVerifyAudience(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
tokenAudience interface{}
|
||||
name string
|
||||
expectedAudience string
|
||||
expectError bool
|
||||
description string
|
||||
expectError bool
|
||||
}{
|
||||
{
|
||||
name: "Audience matches",
|
||||
|
||||
Reference in New Issue
Block a user