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

express-authenticators

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-authenticators - npm Package Compare versions

Comparing version 0.2.0-experiiment-2 to 0.2.0-experiiment-3

12

lib/vendors/AppleAuthenticator.js

@@ -20,11 +20,7 @@ "use strict";

constructor(childConfig) {
super(Object.assign(Object.assign({ consentURL: 'https://appleid.apple.com/auth/authorize',
super(Object.assign({ consentURL: 'https://appleid.apple.com/auth/authorize',
// https://developer.apple.com/documentation/sign_in_with_apple/generate_and_validate_tokens
tokenURL: 'https://appleid.apple.com/auth/token', scope: ['email', 'name'].join(' ') }, childConfig), {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
get clientSecret() {
// https://developer.apple.com/documentation/sign_in_with_apple/generate_and_validate_tokens#3262048
throw new Error('AppleAuthenticator.clientSecret is not available');
} }), {
tokenURL: 'https://appleid.apple.com/auth/token', scope: ['email', 'name'].join(' '),
// https://developer.apple.com/documentation/sign_in_with_apple/generate_and_validate_tokens#3262048
clientSecret: '' }, childConfig), {
responseType: 'code id_token',

@@ -31,0 +27,0 @@ ignoreGrantType: false,

{
"name": "express-authenticators",
"version": "0.2.0-experiiment-2",
"version": "0.2.0-experiiment-3",
"description": "Third party authenticators in nodejs. Support various providers. Almost zero dependencies.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

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