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

simple-oauth2

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-oauth2 - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

3

CHANGELOG.md
# Changelog
## v1.3.0
* Add support for custom idParamName in authCode.authorizeURL() method
## v1.2.0

@@ -4,0 +7,0 @@ * Upgrade dependencies, to avoid using outdated/vulnerable versions

6

lib/client/auth-code.js

@@ -25,5 +25,5 @@ 'use strict';

function authorizeURL(params) {
const options = Object.assign({}, params || {}, {
const options = Object.assign({}, params, {
response_type: 'code',
client_id: config.client.id,
[config.client.idParamName]: config.client.id,
});

@@ -42,3 +42,3 @@

function getToken(params, callback) {
const options = Object.assign({}, params || {}, {
const options = Object.assign({}, params, {
grant_type: 'authorization_code',

@@ -45,0 +45,0 @@ });

{
"name": "simple-oauth2",
"version": "1.2.0",
"version": "1.3.0",
"description": "Node.js client for OAuth2",

@@ -5,0 +5,0 @@ "author": "Andrea Reginato <andrea.reginato@gmail.com>",

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