{"library":"druxt-auth","type":"library","category":null,"description":"DruxtAuth is a Nuxt.js module designed to streamline authentication for Druxt sites by integrating with Drupal's Simple OAuth2 module and the popular `@nuxtjs/auth` module. It abstracts away much of the boilerplate required for connecting a Nuxt frontend to a Drupal backend using OAuth2. The current stable version is 0.4.0, indicating a pre-1.0 release, with updates and patches released as needed. Its key differentiator is its specific focus on the Druxt ecosystem, providing pre-configured strategies for both Drupal Authorization Code and Password grants, significantly simplifying the setup process for developers building headless Drupal applications with Nuxt. It extends the core functionalities of `@nuxtjs/auth` by providing Drupal-specific endpoints and configurations, making it a go-to solution for authentication within the Druxt project framework.","language":"javascript","status":"active","version":"0.4.0","tags":["javascript","auth","authentication","drupal","druxt","module","nuxt","oauth"],"last_verified":"Wed May 27","install":[{"cmd":"npm install druxt-auth","imports":["export default { buildModules: [ ['druxt-auth', { clientId: '...' }] ] }","this.$auth.loginWith('drupal-authorization_code')","this.$auth.loginWith('drupal-password', { data: { username: 'user', password: 'pwd' } })"]},{"cmd":"yarn add druxt-auth","imports":[]},{"cmd":"pnpm add druxt-auth","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/druxt-auth","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/druxt-auth/compatibility"}}