@drmhse/authos-vue

Pre-1.0 Vue and Nuxt adapter for AuthOS authentication
4,367 6
Install
npm install @drmhse/authos-vue
Latest Version:0.8.16
Vue:3
License:MIT
Last Updated:Oct 22, 2026
Links: GitHub  ·  npm
Maintainer: drmhse

@drmhse/authos-vue

npm version License: MIT

Vue 3 and Nuxt adapter for AuthOS.

This package is pre-1.0 and Beta. Pin an exact version and review the current AuthOS support matrix.

Full documentation: authos.dev/docs/packages/authos-vue/

AI agent skills: authos.dev/docs/ai-agent-skills/ and github.com/drmhse/authos_skill

Install

npm install @drmhse/authos-vue

Install nuxt when using the optional /nuxt entry point. The base Vue package does not require Nuxt.

Quick start

import { createApp } from 'vue';
import { createAuthOS } from '@drmhse/authos-vue';
import App from './App.vue';

const app = createApp(App);

app.use(
  createAuthOS({
    baseURL: 'https://sso.example.com',
  }),
);

app.mount('#app');
<script setup>
import { SignIn, SignedIn, SignedOut, UserButton } from '@drmhse/authos-vue';
</script>

<template>
  <SignedOut>
    <SignIn />
  </SignedOut>
  <SignedIn>
    <UserButton />
  </SignedIn>
</template>

Scoped tenant usage

app.use(
  createAuthOS({
    baseURL: 'https://sso.example.com',
    org: 'acme-corp',
    service: 'main-app',
    redirectUri: 'https://app.acme.com/callback',
  }),
);

Includes

  • Plugin factory createAuthOS
  • Components such as SignIn, SignUp, Callback, OAuthButton, Protect, and OrganizationSwitcher
  • Composables for auth state, profile data, organizations, and permissions

See the docs site for Nuxt details, slot APIs, and advanced integration patterns.

Related Packages

@mbsoftlabs/nuxt-oidc-auth

Nuxt 4 module for OIDC/SSO authentication with Laravel Passport or any OIDC prov...

4,296 0
casdoor-vue-sdk

Vue client SDK for Casdoor

21,991 16
vue-greenborn-sso-front

Cliente SSO para aplicaciones Vue 3 que se integra con el servidor de autenticac...

1,046 0

Version History

Version Released Vue License
0.8.16 >=3.4.0 MIT
0.8.12 >=3.4.0 MIT
0.8.10 >=3.4.0 MIT
0.8.9 >=3.4.0 MIT
0.8.8 >=3.4.0 MIT