SAML to Login User
Hi Folks, I am new to Filamentphp and i have to say I already love it. I converted one of our internal tools over to it and the one issue I am running into is getting the user signed in after we get the return for Okta. In our previous laravel project I was just using Auth::login($user) and it would work, but now when I do this I get redirected back to the admin dashboard and get a forbidden page. It is successfully creating the user, just doenst appear to be creating their session correctly.
Is there a different approach I should be using to login the user when it comes to Filament?
Is there a different approach I should be using to login the user when it comes to Filament?
Solution
Ok. Double check this on your user model. https://filamentphp.com/docs/3.x/panels/users#authorizing-access-to-the-panel