$user->id, 'token' => hash('sha256', Str::random(50)), ]); return $SSOToken->toArray(); } }