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

@nuxtjs/auth

Package Overview
Dependencies
Maintainers
5
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/auth - npm Package Compare versions

Comparing version 4.9.0 to 4.9.1

7

CHANGELOG.md

@@ -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 @@

4

lib/schemes/oauth2.js

@@ -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",

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