@unified-api/vuejs-authentication

Unified.to VueJS authentication component
646
Install
npm install @unified-api/vuejs-authentication
Latest Version:1.0.8
Vue:3
License:ISC
Last Updated:Oct 5, 2026
Links: GitHub  ·  npm
Maintainer: roymap

Unified.to's Authentication Component

Installing

Package manager

Using NPM:

$ npm install @unified-api/vuejs-authentication

Using yarn:

$ yarn add @unified-api/vuejs-authentication

Once the package is installed, you can import the component using import

import UnifiedAuthentication from '@unified-api/vuejs-authentication';

Example

<template>
    <UnifiedAuthentication workspace_id="1235..." />
</template>

<script lang="ts">
import UnifiedAuthentication from '@unified-api/vuejs-authentication';
import '../node_modules/@unified-api/vuejs-authentication/dist/styles.css';

export default {
    components: {
        UnifiedAuthentication,
    },
};
</script>

The following are the props that can be passed to the component:

{
    // required
    workspace_id: String,

    // defaults to 'us' - used only with connection_id+api_token
    dc: String as PropType<'us' | 'eu' | 'au'>,

    environment: String,

    // descriptive title and description displaed before the list of links
    title: String,
    description: String,

    // success redirect URL, defaults to location.href
    // a `jwt` parameter will be sent to this URL that will contain { name, emails } which will be base64-encoded and signed by your workspace secret
    success_url: String,

    // failure redirect URL, defaults to location.href
    failure_url: String,

    // returned back to the sUrl and fURL
    state: String,

    // pre-text for login buttons (eg. to "Sign with " or "Continue with " )
    pretext: String,

    // defaults to true
    include_text: Boolean,
    // defaults to true
    include_icon: Boolean,
}

Related Packages

@unified-api/vuejs-directory

VueJS component for Unified.to's Integrations Directory

119,916 0
nuxt-token-authentication

Token Authentication for Nuxt Server APIs

541 5
@digitalway/nuxt-directus

Nuxt module for authentication

324 1
vue-google-api

This vue 2 plugin is a wrapper for the script needed to do client side operation...

10,121 33

Version History

Version Released Vue License
1.0.8 ^3.5.18 ISC
1.0.7 ^3.5.18 ISC
1.0.6 ^3.5.18 ISC
1.0.5 ^3.5.18 ISC
1.0.4 ^3.5.18 ISC