jamesholcombe / dash-auth-external

Plotly Dash plugin to allow authentication through 3rd party OAuth providers.
https://pypi.org/project/dash-auth-external/
MIT License
31 stars 7 forks source link

'session' cookie is too large #21

Closed Sclafus closed 1 year ago

Sclafus commented 1 year ago

Hey there, thanks for the library! We are trying to use it, but we are facing an issue with the dimensions of the session cookie:

/py39/lib/python3.9/site-packages/werkzeug/sansio/response.py:230: UserWarning:

The 'session' cookie is too large: the value was 4606 bytes but the header required 26 extra bytes. The final size was 4632 bytes but the limit is 4093 bytes. Browsers may silently ignore cookies larger than this.

What we tried:

Do you have any insight? Thanks :D

jamesholcombe commented 1 year ago

This might be an oversight on my behalf with some recent changes. I'll have a look in the next few days and release a patch

Sclafus commented 1 year ago

Thanks for the fast reply!

Sclafus commented 1 year ago

False alarm. Apparently we were using an older version of the library (v0.3.0) In version 1.0.1, the issue is not present anymore!