@feathersjs/authentication-oauth
Advanced tools
Comparing version 5.0.5 to 5.0.6
@@ -6,2 +6,8 @@ # Change Log | ||
## [5.0.6](https://github.com/feathersjs/feathers/compare/v5.0.5...v5.0.6) (2023-06-15) | ||
### Bug Fixes | ||
- **authentication-oauth:** Update OAuth redirect to handle user requested redirect paths ([#3186](https://github.com/feathersjs/feathers/issues/3186)) ([3742028](https://github.com/feathersjs/feathers/commit/37420283c17bb8129c6ffdde841ce2034109cc6b)) | ||
## [5.0.5](https://github.com/feathersjs/feathers/compare/v5.0.4...v5.0.5) (2023-04-28) | ||
@@ -8,0 +14,0 @@ |
@@ -71,3 +71,3 @@ "use strict"; | ||
const redirectUrl = `${redirect}${queryRedirect}`; | ||
const separator = redirect.endsWith('?') ? '' : redirect.indexOf('#') !== -1 ? '?' : '#'; | ||
const separator = redirectUrl.endsWith('?') ? '' : redirect.indexOf('#') !== -1 ? '?' : '#'; | ||
const authResult = data; | ||
@@ -74,0 +74,0 @@ const query = authResult.accessToken |
{ | ||
"name": "@feathersjs/authentication-oauth", | ||
"description": "oAuth 1 and 2 authentication for Feathers. Powered by Grant.", | ||
"version": "5.0.5", | ||
"version": "5.0.6", | ||
"homepage": "https://feathersjs.com", | ||
@@ -57,9 +57,9 @@ "main": "lib/", | ||
"dependencies": { | ||
"@feathersjs/authentication": "^5.0.5", | ||
"@feathersjs/commons": "^5.0.5", | ||
"@feathersjs/errors": "^5.0.5", | ||
"@feathersjs/express": "^5.0.5", | ||
"@feathersjs/feathers": "^5.0.5", | ||
"@feathersjs/koa": "^5.0.5", | ||
"@feathersjs/schema": "^5.0.5", | ||
"@feathersjs/authentication": "^5.0.6", | ||
"@feathersjs/commons": "^5.0.6", | ||
"@feathersjs/errors": "^5.0.6", | ||
"@feathersjs/express": "^5.0.6", | ||
"@feathersjs/feathers": "^5.0.6", | ||
"@feathersjs/koa": "^5.0.6", | ||
"@feathersjs/schema": "^5.0.6", | ||
"cookie-session": "^2.0.0", | ||
@@ -69,21 +69,21 @@ "grant": "^5.4.21", | ||
"lodash": "^4.17.21", | ||
"qs": "^6.11.1" | ||
"qs": "^6.11.2" | ||
}, | ||
"devDependencies": { | ||
"@feathersjs/memory": "^5.0.5", | ||
"@feathersjs/memory": "^5.0.6", | ||
"@types/cookie-session": "^2.0.44", | ||
"@types/express": "^4.17.17", | ||
"@types/koa-session": "^6.4.0", | ||
"@types/lodash": "^4.14.192", | ||
"@types/koa-session": "^6.4.1", | ||
"@types/lodash": "^4.14.195", | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "^18.15.11", | ||
"@types/node": "^20.3.1", | ||
"@types/tough-cookie": "^4.0.2", | ||
"axios": "^1.3.4", | ||
"axios": "^1.4.0", | ||
"mocha": "^10.2.0", | ||
"shx": "^0.3.4", | ||
"tough-cookie": "^4.1.2", | ||
"tough-cookie": "^4.1.3", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.0.3" | ||
"typescript": "^5.1.3" | ||
}, | ||
"gitHead": "42bd5e40ec73b10939b9a008ae8e49c39a191009" | ||
"gitHead": "71ac655d260fbc9aa65cd5b9a6c088f0187ace4e" | ||
} |
@@ -99,3 +99,3 @@ import { | ||
const redirectUrl = `${redirect}${queryRedirect}` | ||
const separator = redirect.endsWith('?') ? '' : redirect.indexOf('#') !== -1 ? '?' : '#' | ||
const separator = redirectUrl.endsWith('?') ? '' : redirect.indexOf('#') !== -1 ? '?' : '#' | ||
const authResult: AuthenticationResult = data | ||
@@ -102,0 +102,0 @@ const query = authResult.accessToken |
Sorry, the diff of this file is not supported yet
76093
Updated@feathersjs/commons@^5.0.6
Updated@feathersjs/errors@^5.0.6
Updated@feathersjs/express@^5.0.6
Updated@feathersjs/feathers@^5.0.6
Updated@feathersjs/koa@^5.0.6
Updated@feathersjs/schema@^5.0.6
Updatedqs@^6.11.2