Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@websanova/vue-auth

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@websanova/vue-auth - npm Package Compare versions

Comparing version 2.14.0-beta to 2.14.1-beta

2

demos/1.x/package.json
{
"dependencies": {
"@websanova/vue-auth": "2.14.0-beta"
"@websanova/vue-auth": "2.14.1-beta"
},

@@ -5,0 +5,0 @@

{
"dependencies": {
"@websanova/vue-auth": "2.14.0-beta",
"@websanova/vue-auth": "2.14.1-beta",
"axios": "0.16.2",

@@ -5,0 +5,0 @@ "vue-axios": "2.0.2"

@@ -30,3 +30,3 @@ {

"@websanova/vue-auth": "2.14.0-beta",
"@websanova/vue-auth": "2.14.1-beta",
"axios": "0.16.2",

@@ -33,0 +33,0 @@ "vue-axios": "2.0.2"

# FAQ
More coming soon...
### I'm getting an error that `router` is not found.
This is a particular issue of using `vue-resource` that requires `Vue.router` to be set before the plugin is initialized.
### I've logged in successfully but it's not working after.
Likely related to token issues with a valid token not being sent back. First steps are to fully verify that the token is indeed being sent back.
### Why is the token not being set?
By default the plugin will look for a token in `Authorization` header. This is controlled by one of the [auth](https://github.com/websanova/vue-auth/tree/master/drivers/auth) drivers. These are simple drivers that simple set and get a token. It's best to start debugging here if there are issues with tokens.
### How can I authenticate without using the `Authorization` header.
The token can be supplied anywhere in your app response. The provided [auth](https://github.com/websanova/vue-auth/tree/master/drivers/auth) drivers are common methods for authenticating users in single page apps. Simply view any of the [auth]https://github.com/websanova/vue-auth/tree/master/drivers/auth) drivers as a guide to write your own custom driver.
### My app has 2 or more fields required for authentication.
In this case write a custom [auth](https://github.com/websanova/vue-auth/tree/master/drivers/auth) and simply append the fields together using some kind of separator such as a pipe (`|`), semicolon (`;`), etc.

@@ -17,3 +17,3 @@ {

"version": "2.14.0-beta",
"version": "2.14.1-beta",

@@ -20,0 +20,0 @@ "repository": {

@@ -6,3 +6,2 @@ # Vue Auth

* [FAQ](https://github.com/websanova/vue-auth/blob/master/docs/Faq.md)
* [Known Issues](https://github.com/websanova/vue-auth/blob/master/docs/KnownIssues.md)
* [Installation](https://github.com/websanova/vue-auth/blob/master/docs/Installation.md)

@@ -12,6 +11,6 @@ * [Demo](https://github.com/websanova/vue-auth/blob/master/docs/Demo.md)

* [Tokens](https://github.com/websanova/vue-auth/blob/master/docs/Tokens.md)
* [User Data](https://github.com/websanova/vue-auth/blob/master/docs/User.md)
* [User](https://github.com/websanova/vue-auth/blob/master/docs/User.md)
* [Authentication](https://github.com/websanova/vue-auth/blob/master/docs/Authentication.md)
* [Privileges](https://github.com/websanova/vue-auth/blob/master/docs/Privileges.md)
* [Routes](https://github.com/websanova/vue-auth/blob/master/docs/Routing.md)
* [Routing](https://github.com/websanova/vue-auth/blob/master/docs/Routing.md)
* [Methods](https://github.com/websanova/vue-auth/blob/master/docs/Methods.md)

@@ -18,0 +17,0 @@ * [Options](https://github.com/websanova/vue-auth/blob/master/docs/Options.md)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc