Hi everyone,
Originally asked in a Strapi Discord channel but thought I would add here for wider visibility
We have an existing Laravel application that has an accessible admin interface and a bunch of API’s that our existing Vue SPA consumes. Ideally what we want is to use Strapi to publish content to the Vue SPA alongside using API’s from our Laravel backend. We have a requirement where we need to bolt on an existing Headless CMS to our admin interface and we want this to be as seamless as possible. The user logs into the Laravel admin (back office) area where a sidebar is shown with such values:
- Users
- Tenants
- Another link
- Content (Link to self-hosted Strapi instance)
When they click “Content” we would want them to be auto-logged into Strapi using our existing authentication implementation in Laravel. I appreciate this is a specific use case and perhaps it would be possible by registering / auto logging the User into Strapi (via their API endpoints) at the point they are created/logged into our Laravel admin area.
I’m not sure if Strapi may offer some form of external authentication adapter that would allow me to offload the process to the Laravel application. Has anyone else had a similar requirement or ideas? Any help would be greatly appreciated.