Set authorization module uLogin for Codeigniter http://ulogin.ru/constructor.html
However, it causes an error ("The action you have requested is not allowed."
) if enabled CSRF protection.
If the protection is turned off, everything works fine.
If protection is enabled, then after logging and automatic refresh the current page fails.
Apparently due discrepancies passed token. How to solve this problem?