Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixes #75 by not stripping query string

  • Loading branch information...
commit 0b8fdf6d77dc559174ddabcaece69c333297bacc 1 parent d529469
Michael Henretty mikehenrty authored

Showing 1 changed file with 0 additions and 6 deletions. Show diff stats Hide diff stats

  1. +0 6 openid.js
6 openid.js
@@ -1094,12 +1094,6 @@ var _verifyAssertionAgainstProvider = function(provider, params, stateless, exte
1094 1094 if(provider.version.indexOf('2.0') !== -1)
1095 1095 {
1096 1096 var endpoint = params['openid.op_endpoint'];
1097   - if (endpoint) {
1098   - var qsIndex = endpoint.indexOf('?');
1099   - if (qsIndex !== -1) {
1100   - endpoint = endpoint.substring(0, qsIndex);
1101   - }
1102   - }
1103 1097 if (provider.endpoint != endpoint)
1104 1098 {
1105 1099 return callback({ message: 'OpenID provider endpoint in assertion response does not match discovered OpenID provider endpoint' });

0 comments on commit 0b8fdf6

Please sign in to comment.
Something went wrong with that request. Please try again.