Skip to main content
Aggregate Drupal.org Planet Drupal 27 Sep 2026 - 00:08

Stuart Clark (Deciphered): Druxt Auth 0.5.0; two ways to sign in without leaving your site

RSS 官方收录 · 可信分层展示

关键摘要

Every Druxt site I have built signs people in by sending them somewhere else to do it: out to Drupal's login page, on to a consent screen, and eventually back.…

  • With Druxt Auth 0.
  • 0 the username and password can now be handled entirely in the fronten…
  • If you have not used it, Druxt Auth wires Nuxt's auth module to Simple…

规则摘要 · 来源可核验

正文提要

Every Druxt site I have built signs people in by sending them somewhere else to do it: out to Drupal's login page, on to a consent screen, and eventually back. With Druxt Auth 0.5.0 the username and password can now be handled entirely in the frontend instead, either through the authorization code grant or through the password grant.

If you have not used it, Druxt Auth wires Nuxt's auth module to Simple OAuth on the Drupal side. It targets Nuxt 2 today, because @nuxtjs/auth-next does.

The first is the authorization code grant, which now takes credentials directly. Druxt Auth signs the visitor in through Drupal's JSON login route first, so the authorize step finds a session waiting and returns a code without rendering anything:

Continue reading →

打开官方原文 站点原文页 可信分区 本信源更多 今日简报 分享图 RSS 稍后再看列表