@nuxtjs/auth
Advanced tools
Comparing version 4.9.0 to 4.9.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [4.9.1](https://github.com/nuxt-community/auth-module/compare/v4.9.0...v4.9.1) (2020-04-16) | ||
### Bug Fixes | ||
* **oauth2:** use normalized path for callback route check ([#587](https://github.com/nuxt-community/auth-module/issues/587)) ([ffda6b0](https://github.com/nuxt-community/auth-module/commit/ffda6b08747496a24ed4656d7d48db50e6c4c50f)) | ||
## [4.9.0](https://github.com/nuxt-community/auth-module/compare/v4.8.5...v4.9.0) (2020-03-15) | ||
@@ -7,0 +14,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { encodeQuery, parseQuery } from '../utilities' | ||
import { encodeQuery, parseQuery, normalizePath } from '../utilities' | ||
import nanoid from 'nanoid' | ||
@@ -135,3 +135,3 @@ const isHttps = process.server ? require('is-https') : null | ||
// Handle callback only for specified route | ||
if (this.$auth.options.redirect && this.$auth.ctx.route.path !== this.$auth.options.redirect.callback) { | ||
if (this.$auth.options.redirect && normalizePath(this.$auth.ctx.route.path) !== normalizePath(this.$auth.options.redirect.callback)) { | ||
return | ||
@@ -138,0 +138,0 @@ } |
{ | ||
"name": "@nuxtjs/auth", | ||
"version": "4.9.0", | ||
"version": "4.9.1", | ||
"description": "Authentication module for Nuxt.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72456