Replies: 1 comment
-
I replaced |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a project using Laravel 10.x and I'm trying use octane on it. I was able to set up Octane and make it run but I got problems involving my custom Authentication.
Some routes on my apis are using a custom Auth based on API-KEY from our SSO.
I use
Auth::viaRequest
inside myAuthServiceProvider
to get the API-KEY from request and call the SSO API to resolve which User is the author of the request. Also I use the cookie from SSO to resolve which user is navigating the site.That is
boot
method ofAuthServiceProvider
:Without Octane both runs well but when I enable Octane the "sso-cookie" doesn't work. Is there some different approach for Octane that should I consider?
I'm reading cookies from request with
$_COOKIE
. Is it not possible with octane?Beta Was this translation helpful? Give feedback.
All reactions