I integrated the identity framework into my app, but it appears the
session cookie is never sent.
Here's what happens: I have a /save page which @requires not_anonymous.
The user tries to visit /save, they are redirected to /login with extra
parameters stored in the login form. If the user types in a valid l/p,
then the content is correctly saved and everything is good. Except that
there is no identity cookie sent, so there is no lasting record of the
session. Oddly enough, there is a secret_token in my database
corresponding to the user who logged in; however it is not sent.
Note that I have duplicated the relevant fields from somodel.py and
specified the following in my dev.cfg:
identity.on=True
identity.failure_url="/login"
identity.soprovider.model="myproject.model"
identity.soprovider.model.user="User"
identity.soprovider.model.group="Role"
identity.soprovider.model.permission="Permission"
identity.soprovider.model.secret_token="SecretToken"
identity.session.cookie.host="localhost"
This is with SVN 441. Any help is appreciated.
Keir