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

loopback-component-oauth2

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loopback-component-oauth2 - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

8

CHANGES.md

@@ -1,4 +0,10 @@

2015-06-12, Version 2.1.1
2015-06-12, Version 2.2.0
=========================
* Tidy up the models to work with MySQL (Raymond Feng)
2015-06-11, Version 2.1.1
=========================
* Allow models to be customized via options (Raymond Feng)

@@ -5,0 +11,0 @@

4

common/models/oauth-authorization-code.json

@@ -8,2 +8,3 @@ {

"id": true,
"length": 300,
"generated": false

@@ -13,2 +14,3 @@ },

"type": "string",
"length": 128,
"index": true

@@ -43,3 +45,3 @@ },

"type": "belongsTo",
"model": "Application",
"model": "OAuthClientApplication",
"foreignKey": "appId"

@@ -46,0 +48,0 @@ },

@@ -5,2 +5,8 @@ {

"properties": {
"id": {
"type": "string",
"id": true,
"generated": false,
"length": 128
},
"clientType": {

@@ -37,3 +43,3 @@ "type": "string",

"logoURI": "string",
"scope": "string",
"scopes": ["string"],
"contacts": ["string"],

@@ -40,0 +46,0 @@ "tosURI": "string",

@@ -7,2 +7,3 @@ {

"type": "string",
"length": 128,
"index": true

@@ -28,3 +29,3 @@ },

"type": "belongsTo",
"model": "Application",
"model": "OAuthClientApplication",
"foreignKey": "appId"

@@ -31,0 +32,0 @@ },

@@ -6,2 +6,4 @@ {

"type": "string",
"length": 255,
"index": true,
"description": "The scope name"

@@ -8,0 +10,0 @@ },

@@ -8,2 +8,3 @@ {

"id": true,
"length": 300,
"generated": false

@@ -13,2 +14,3 @@ },

"type": "string",
"length": 128,
"index": true

@@ -38,2 +40,3 @@ },

"type": "string",
"length": 300,
"index": true

@@ -43,2 +46,3 @@ },

"type": "string",
"length": 300,
"index": true

@@ -55,3 +59,3 @@ },

"type": "belongsTo",
"model": "Application",
"model": "OAuthClientApplication",
"foreignKey": "appId"

@@ -58,0 +62,0 @@ },

@@ -153,3 +153,4 @@ /**

var validURIs = client.callbackUrls || client.redirectUris || [];
var validURIs = client.callbackUrls || client.redirectUris
|| client.redirectURIs || [];
validURIs = helpers.normalizeList(validURIs);

@@ -156,0 +157,0 @@ if (!redirectURI) {

@@ -199,3 +199,3 @@ /**

debug('Authorization code found: %s', authCode);
debug('Authorization code found: %j', authCode);

@@ -210,3 +210,3 @@ var clientId = authCode.appId || authCode.clientId;

}
if (redirectURI !== authCode.redirectURI) {
if (redirectURI != authCode.redirectURI) {
return done(new TokenError('Redirect uri mismatches',

@@ -238,3 +238,3 @@ 'invalid_grant'));

debug('Generating access token: %s %s %s',
debug('Generating access token: %j %s %s',
token, clientInfo(client), redirectURI);

@@ -311,3 +311,3 @@

debug('Generating access token: %s %s %s %s',
debug('Generating access token: %j %s %s %s',
token, clientInfo(client), username, scope);

@@ -342,3 +342,3 @@

});
debug('Generating access token: %s %s %s',
debug('Generating access token: %j %s %s',
token, clientInfo(client), scope);

@@ -436,3 +436,3 @@

debug('Generating access token: %s %s %s %j',
debug('Generating access token: %j %s %s %j',
token, clientInfo(client), scope, refreshToken);

@@ -466,3 +466,3 @@

});
debug('Generating access token: %s %s %s %s',
debug('Generating access token: %j %s %s %s',
token, clientInfo(client), userInfo(user), scope);

@@ -525,3 +525,3 @@

});
debug('Generating access token %s %s %s', token,
debug('Generating access token %j %s %s', token,
clientInfo(client), jwtToken);

@@ -528,0 +528,0 @@ // Check OAuthPermission model to see if it's pre-approved

{
"name": "loopback-component-oauth2",
"version": "2.1.1",
"version": "2.2.0",
"description": "OAuth 2.0 provider for LoopBack",

@@ -51,3 +51,3 @@ "keywords": [

"optionalDependencies": {
"sl-blip": "http://blip.strongloop.com/loopback-component-oauth2@2.1.1"
"sl-blip": "http://blip.strongloop.com/loopback-component-oauth2@2.2.0"
},

@@ -54,0 +54,0 @@ "engines": {

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