diff --git a/src/FamilySearch.js b/src/FamilySearch.js index 826da40..7ce8426 100644 --- a/src/FamilySearch.js +++ b/src/FamilySearch.js @@ -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'; } }; @@ -512,4 +512,4 @@ FamilySearch.prototype.platformHost = function(){ } }; -module.exports = FamilySearch; \ No newline at end of file +module.exports = FamilySearch; diff --git a/test/node.js b/test/node.js index df5964b..ede6fa2 100644 --- a/test/node.js +++ b/test/node.js @@ -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){