koa-azuread-jwt
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -31,4 +31,4 @@ 'use strict' | ||
// check query and authorization header | ||
if (this.query.jwt) { | ||
jwtEncoded = this.query.jwt | ||
if (this.query.jwt || this.query.token) { | ||
jwtEncoded = this.query.jwt || this.query.token | ||
} | ||
@@ -35,0 +35,0 @@ // check for authorization header |
{ | ||
"name": "koa-azuread-jwt", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Azure AD JWT Validation Middleware for Koa", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
9029