{"id":28076756,"url":"https://github.com/jaredhanson/passport-intuit","last_synced_at":"2025-07-16T11:10:18.264Z","repository":{"id":3202405,"uuid":"4236036","full_name":"jaredhanson/passport-intuit","owner":"jaredhanson","description":"Intuit (OpenID) authentication strategy for Passport and Node.js.","archived":false,"fork":false,"pushed_at":"2018-01-04T16:27:26.000Z","size":10,"stargazers_count":10,"open_issues_count":3,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-13T01:49:55.382Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaredhanson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-05T19:24:37.000Z","updated_at":"2021-07-22T09:51:11.000Z","dependencies_parsed_at":"2022-08-03T08:15:29.604Z","dependency_job_id":null,"html_url":"https://github.com/jaredhanson/passport-intuit","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredhanson%2Fpassport-intuit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredhanson%2Fpassport-intuit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredhanson%2Fpassport-intuit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredhanson%2Fpassport-intuit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaredhanson","download_url":"https://codeload.github.com/jaredhanson/passport-intuit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253856616,"owners_count":21974576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-13T01:49:58.991Z","updated_at":"2025-05-13T01:49:59.545Z","avatar_url":"https://github.com/jaredhanson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Passport-Intuit\n\n[Passport](http://passportjs.org/) strategy for authenticating with [Intuit](http://www.intuit.com/)\nusing OpenID 2.0.\n\nThis module lets you authenticate using Intuit in your Node.js applications.\nBy plugging into Passport, Intuit authentication can be easily and\nunobtrusively integrated into any application or framework that supports\n[Connect](http://www.senchalabs.org/connect/)-style middleware, including\n[Express](http://expressjs.com/).\n\n## Install\n\n    $ npm install passport-intuit\n\n## Usage\n\n#### Configure Strategy\n\nThe Intuit authentication strategy authenticates users using an Intuit account,\nwhich is also an OpenID 2.0 identifier.  The strategy requires a `verify`\ncallback, which accepts this identifier and calls `done` providing a user.\nAdditionally, options can be supplied to specify a return URL and realm.\n\n    passport.use(new IntuitStrategy({\n        returnURL: 'http://localhost:3000/auth/intuit/return',\n        realm: 'http://localhost:3000/'\n      },\n      function(identifier, done) {\n        User.findByOpenID({ openId: identifier }, function (err, user) {\n          return done(err, user);\n        });\n      }\n    ));\n\n#### Authenticate Requests\n\nUse `passport.authenticate()`, specifying the `'intuit'` strategy, to\nauthenticate requests.\n\nFor example, as route middleware in an [Express](http://expressjs.com/)\napplication:\n\n    app.get('/auth/intuit',\n      passport.authenticate('intuit'));\n\n    app.get('/auth/intuit/return', \n      passport.authenticate('intuit', { failureRedirect: '/login' }),\n      function(req, res) {\n        // Successful authentication, redirect home.\n        res.redirect('/');\n      });\n\n## Examples\n\nFor a complete, working example, refer to the [signon example](https://github.com/jaredhanson/passport-intuit/tree/master/examples/signon).\n\n## Tests\n\n    $ npm install --dev\n    $ make test\n\n[![Build Status](https://secure.travis-ci.org/jaredhanson/passport-intuit.png)](http://travis-ci.org/jaredhanson/passport-intuit)\n\n## Credits\n\n  - [Jared Hanson](http://github.com/jaredhanson)\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2012-2013 Jared Hanson \u003c[http://jaredhanson.net/](http://jaredhanson.net/)\u003e\n\n\u003ca target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/vK9dyjRnnWsMzzJTQ57fRJpH/jaredhanson/passport-intuit'\u003e  \u003cimg alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/vK9dyjRnnWsMzzJTQ57fRJpH/jaredhanson/passport-intuit.svg' /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredhanson%2Fpassport-intuit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaredhanson%2Fpassport-intuit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredhanson%2Fpassport-intuit/lists"}