- π¦πΊAustralia elc
A headless login can be achieved using the existing drupal core headless login. Adding yet another login method is adding complexity and duplicating functionality when it doesn't need to be. This patch also appears to bypass the login ticket which is a required step.
The following can be achieved because this module functions by authenticating a user against the CAS Server site.
1/ Use the drupal core headless login to get an authenticated session
2/ Access /cas/login?_format=json&service=https%3A%2F%2Fservice.example.com to get a STMarking as CWF for now. A pressing need and a re-roll against 2.1.x branch would peak my interest again, but I am also currently considering removing the separate login form and using the drupal core one with a destination parameter set so that π¬ Compatibility with TFA module Active is easily supported. Again, the login form is duplicated functionality.