https://developer.okta.com/blog/2019/01/15/crud-app-laravel-vue
You can refer to this tuto, I think you will get an idea !
How can I setup some sort of middleware, or other check, to determine if a user is authenticated against an external identity provider?
I'm working on an application that uses Okta as an identity provider. I have setup the application to work with Socialite using the Okta provider, and can sign in to the application using Okta credentials. The issue I'm having is that the user can sign out of Okta (due to closing the browser, or session timeout) and they are stilled signed in to the Laravel application.
This is causing poor user experience because we have SSO links to other applications in Okta. As a result, when they click one of these links, it checks Okta, and requires them to sign in again. Ideally, the Laravel application would check Okta each time it is accessed, and require authentication if they are no longer signed in to Okta.
Any feedback is greatly appreciated! Thanks!
Please or to participate in this conversation.