Skip to content

Commit

Permalink
Merge pull request #35 from shdblowers/integration-ident-url
Browse files Browse the repository at this point in the history
ident integration URL updated
  • Loading branch information
justincy authored Feb 9, 2018
2 parents 5f6d743 + d501198 commit 49be048
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/FamilySearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ FamilySearch.prototype.identHost = function(){
case 'beta':
return 'https://identbeta.familysearch.org';
default:
return 'https://integration.familysearch.org';
return 'https://identint.familysearch.org';
}
};

Expand All @@ -512,4 +512,4 @@ FamilySearch.prototype.platformHost = function(){
}
};

module.exports = FamilySearch;
module.exports = FamilySearch;
4 changes: 2 additions & 2 deletions test/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ describe('node', function(){
});

it('oauthRedirectURL()', function(){
assert.equal(client.oauthRedirectURL(), 'https://integration.familysearch.org/cis-web/oauth2/v3/authorization?response_type=code&client_id=a02j000000JBxOxAAL&redirect_uri=http://foobaz.com/oauth-redirect');
assert.equal(client.oauthRedirectURL(), 'https://identint.familysearch.org/cis-web/oauth2/v3/authorization?response_type=code&client_id=a02j000000JBxOxAAL&redirect_uri=http://foobaz.com/oauth-redirect');
});

it('oauthRedirectURL(state)', function(){
assert.equal(client.oauthRedirectURL('state123'), 'https://integration.familysearch.org/cis-web/oauth2/v3/authorization?response_type=code&client_id=a02j000000JBxOxAAL&redirect_uri=http://foobaz.com/oauth-redirect&state=state123');
assert.equal(client.oauthRedirectURL('state123'), 'https://identint.familysearch.org/cis-web/oauth2/v3/authorization?response_type=code&client_id=a02j000000JBxOxAAL&redirect_uri=http://foobaz.com/oauth-redirect&state=state123');
});

it('oauthUnauthenticatedToken()', function(done){
Expand Down

0 comments on commit 49be048

Please sign in to comment.