The problem appears to originate from the itsdangerous library, the signer returns bytes string for use as the sid, this is concatenated to the key prefix (which is a unicode string) and results in the Type error (see screenshot). Also if I don't set the key prefix it fails as it tries to append None.
If I configured my Flask session to use SQLAlchemy and signed cookies I end up with a Type Error when the first request hits my application.
This is the configuration I used to enable this functionality:
The problem appears to originate from the itsdangerous library, the signer returns bytes string for use as the sid, this is concatenated to the key prefix (which is a unicode string) and results in the Type error (see screenshot). Also if I don't set the key prefix it fails as it tries to append None.