Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of https://github.com/havard/node-openid

  • Loading branch information...
commit fb2ed15d2a8b24e5cf1630ee25686fae9c12f49b 2 parents 1643e8c + 2d4da81
@havard authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 openid.js
View
6 openid.js
@@ -1100,12 +1100,6 @@ var _verifyAssertionAgainstProvider = function(provider, params, stateless, exte
if(provider.version.indexOf('2.0') !== -1)
{
var endpoint = params['openid.op_endpoint'];
- if (endpoint) {
- var qsIndex = endpoint.indexOf('?');
- if (qsIndex !== -1) {
- endpoint = endpoint.substring(0, qsIndex);
- }
- }
if (provider.endpoint != endpoint)
{
return callback({ message: 'OpenID provider endpoint in assertion response does not match discovered OpenID provider endpoint' });
Please sign in to comment.
Something went wrong with that request. Please try again.