Call to undefined method Illuminate\Session\EncryptedStore::set() code example
Example: Call to undefined method Illuminate\Session\Store::set()
Replacing
\Session::set('u2f.registerData', $req);
WIth
session(['u2f.registerData' => $req]);
Works