New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

egg-kauth

Package Overview
Dependencies
Maintainers
0
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-kauth - npm Package Compare versions

Comparing version 2.0.13-alpha.4 to 2.0.13-alpha.5

7

app/lib/index.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -6,2 +9,3 @@ exports.KauthProvider = void 0;

const url_1 = require("url");
const path_1 = __importDefault(require("path"));
class KauthProvider {

@@ -92,3 +96,4 @@ maxAge = 2147483647;

});
if (callback) {
// for security reason, onlt allow relative path
if (callback && path_1.default.normalize(callback).startsWith('/')) {
ctx.redirect(callback);

@@ -95,0 +100,0 @@ return;

2

package.json
{
"name": "egg-kauth",
"version": "2.0.13-alpha.4",
"version": "2.0.13-alpha.5",
"description": "egg kauth plugin",

@@ -5,0 +5,0 @@ "eggPlugin": {

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