You want to access the cookie creator used by authentication.
$cookies = Auth::getCookieJar();
Note if authentication isn't using cookies a
RuntimeException will be thrown.
Usually you can just access the
By default Laravel uses the same cookie driver for both the
Cookie facade and the
Auth facade. This means unless your application is explicitly setting the cookie jar, it's easier to use the
Cookie facade when dealing with cookies.