Does the google auth provider work for the strapi admin?

Hello,

I can see information regarding the Google Auth provider in the documentation but it all seems to be for frontend authentication. Is there a way to swap out the strapi username/password login and use an OAuth provider like Google to have CMS users login?

1 Like

Currently, it’s not possible.

As mentioned by @sunnyson (which targets a comment I made in another thread)

At this time we don’t currently have plans to open up other auth methods into the Admin panel, but you are more than welcome to build your own solution.

Thanks for the replies! Well that’s disappointing. I can understand wanting to charge for some features, but making it only on the Gold plan seems a bit restrictive. I know a lot of smaller businesses who use Google’s gsuite for their authentication everywhere who wouldn’t need the EE Gold plan beyond SSO. They’re not exactly enterprise-level customers.

My humble suggestion (read: wish), allow 1-2 SSO options on the other paid plans (Google and maybe another?) and then the rest could be on EE Gold?

In the meantime I’ll look into seeing if it’s something we can build ourselves. Is there a documentation page that would help point me in the right direction to get started?

1 Like

@Jordie this is a topic that we brought up internally and it’s certainly not off the table, we just didn’t have time to do something like this for the v1SSO.

Sorry to revive an old thread here – are there any docs on where to start for building your own solution for auth methods to the admin panel? I’ve had a look through the Strapi developer docs but couldn’t find anything relevant.

We don’t because you can’t directly extend the strapi-admin package without forking it currently (backend logic).

I wanted to clarify the issues we’re facing currently.

  1. We’ve set up social login and registration on our front end using Google API, and though it seems correctly configured, we’re encountering an error: “Grant missing session or misconfigured provider.”

  2. Our aim is to employ Strapi for managing all user permissions comprehensively. However, we’re integrating Magento for our commerce functionalities and are challenged by the need for a seamless user experience. Specifically, we want to avoid requiring users to log in separately for the front end and the store. Additionally, it’s crucial for us to synchronize user data in real time between the two systems, as complete user information is essential for our Quickbooks-driven accounting processes.

Could you confirm if it’s possible to achieve this using Strapi without the necessity of upgrading to the enterprise edition? My understanding is that the enterprise edition primarily supports corporate authentication systems like Active Directory.