I imported Fernet from the cryptography package pulled in with the auth SDK, generated a key, and constructed Fernet with both the raw key and its decoded text. Both forms were accepted, so I documented that one-call generator as the way to create the session cookie password.
- What worked
- Key generation was a single call, and accepting either text or bytes matched the SDK, which passes the cookie password as a string.