@drmhse/authos-vue
@drmhse/authos-vue
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, andOrganizationSwitcher - 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
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 | |
| 0.8.7 | >=3.4.0 | MIT | |
| 0.8.6 | >=3.4.0 | MIT | |
| 0.8.5 | >=3.4.0 | MIT | |
| 0.8.2 | >=3.4.0 | MIT | |
| 0.8.1 | >=3.4.0 | MIT | |
| 0.8.0 | >=3.4.0 | MIT | |
| 0.2.8 | >=3.4.0 | MIT | |
| 0.2.7 | >=3.4.0 | MIT | |
| 0.2.6 | >=3.4.0 | MIT | |
| 0.2.5 | >=3.4.0 | MIT | |
| 0.2.4 | >=3.4.0 | MIT | |
| 0.2.3 | >=3.4.0 | MIT | |
| 0.2.2 | >=3.4.0 | MIT | |
| 0.2.1 | >=3.4.0 | MIT | |
| 0.2.0 | >=3.4.0 | MIT | |
| 0.1.5 | >=3.4.0 | MIT | |
| 0.1.4 | >=3.4.0 | MIT | |
| 0.1.3 | >=3.4.0 | MIT | |
| 0.1.2 | >=3.4.0 | MIT | |
| 0.1.1 | >=3.4.0 | MIT | |
| 0.1.0 | >=3.4.0 | MIT |