verbb / social-login

A Craft CMS plugin to add SSO (Single Sign-On) user login, registration and connecting to social media platforms.
Other
4 stars 6 forks source link

Auth for a Headless Frontend #31

Open thisanimus opened 4 months ago

thisanimus commented 4 months ago

Question

Is it possible to authenticate via Craft and Social Login when running Craft CMS in headless mode? Either:

  1. Auth on the website via an iframe and store the credentials in sessionStorage?
  2. Auth via the GraphQL API?

edit: Lol "Auth for a Headless Frontend" sounds like an emo band's sophomore album

engram-design commented 4 months ago

It's not possible at the moment I'm afraid. We're looking into options for GraphQL, but I believe there's a good amount of work in making it all work correctly.