mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-17 04:37:48 +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:
@@ -253,8 +253,8 @@ func (s *AuthFlowBehaviourSuite) TestPrepareSessionForAuthentication_WithPKCE()
|
||||
// TestIsAjaxRequest tests AJAX request detection
|
||||
func (s *AuthFlowBehaviourSuite) TestIsAjaxRequest() {
|
||||
testCases := []struct {
|
||||
name string
|
||||
headers map[string]string
|
||||
name string
|
||||
expectAjax bool
|
||||
}{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user