Closed GoogleCodeExporter closed 8 years ago
In addition to storing this field in the $state array, you will probably also
want to add the field name to the 'PersistentAuthData'-field, so that it is
saved for future authentication requests. Something like:
$state['PersistentAuthData'][] = self::ORGID;
Original comment by olavmrk@gmail.com
on 22 Nov 2011 at 8:10
Attached is a new patch with that addition. Should I be doing that whenever I
add stuff to the $state or $request in a filter? I save state to redirect to a
new page.
Original comment by pan...@traileyes.com
on 23 Nov 2011 at 3:58
Attachments:
Thanks! Committed as r2992.
Original comment by olavmrk@gmail.com
on 2 Dec 2011 at 10:48
I just realized that I forgot to answer your question:
You only need to add an entry to the PersistentAuthData array if you need it to
be saved for use in authentication processing filters. Everything is kept in
the state array through the login process, but in SSO scenarios (where the user
is already authenticated), only the data that has been marked as persistent
will be available to the processing filters.
Original comment by olavmrk@gmail.com
on 2 Dec 2011 at 11:03
Original issue reported on code.google.com by
pan...@traileyes.com
on 21 Nov 2011 at 10:11Attachments: