#Sociallite login /w L10 & Jetstream

8 messages · Page 1 of 1 (latest)

neat tree
flat thorn
#

I did try that with

// if ($request->hasSession()) {
    $request->session()->regenerate();
// }

however, request on callback returns false for this if. If I comment it out I get

Session store not set on request.

Edit: oh, wait, I forgot I moved this to API routes...sec

neat tree
#

API routes are (usually) stateless, and they are with Jetstream

#

Why'd you make that an API route if it's accessed through the web..?

flat thorn
#

I was testing things out by getting Google auth URL in the Chrome extension directly in JS and forgot to revert it.

#

Be it as it may, I reverted now, doing session regenerate and same thing happens. Session does regenerate, no error there, but I still see login and register

#

I noticed that regenerated session (and original one for that matter) doesn't contain sanctum password hash, which I do get in the session file when I log in with email/pass

#

I don't know if there is an issue because I have app running in Docker?