@websanova/vue-auth
Advanced tools
Comparing version 2.14.0-beta to 2.14.1-beta
{ | ||
"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) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
780209
1
111
62