{"_id":"passport-okta-oauth","_rev":"2-cda2a090d0b2d3fc7aa438226b0ad47b","name":"passport-okta-oauth","description":"Passport strategy for authenticating with Okta using OAuth 2.0.","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"passport-okta-oauth","version":"0.0.1","description":"Passport strategy for authenticating with Okta using OAuth 2.0.","main":"lib/passport-okta-oauth/index.js","dependencies":{"pkginfo":"0.2.x","passport-oauth":"1.0.0","uid2":"0.0.3"},"devDependencies":{"vows":"0.6.x"},"scripts":{"test":"NODE_PATH=lib node_modules/.bin/vows test/*-test.js"},"repository":{"type":"git","url":"git+https://github.com/fischerdan/passport-okta-oauth.git"},"keywords":["passport","okta","auth","authn","authentication","identity"],"author":{"name":"Steven Chau"},"license":"MIT","bugs":{"url":"https://github.com/fischerdan/passport-okta-oauth/issues"},"homepage":"https://github.com/fischerdan/passport-okta-oauth","_id":"passport-okta-oauth@0.0.1","_shasum":"c8bcee02af3d56ca79d3cca776f2df7cf15a5748","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"ryanadolphson","email":"ryan.adolphson@q3contracting.com"},"dist":{"shasum":"c8bcee02af3d56ca79d3cca776f2df7cf15a5748","tarball":"https://registry.npmjs.org/passport-okta-oauth/-/passport-okta-oauth-0.0.1.tgz","integrity":"sha512-VfeXnJuCMfsUOavugPdj4QGSuwSGwdkb6D4vBqQRN961jcDgLEfMYWLRqxh7KuBn6PdMGa5k0hChsbSWkkPDng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEu3J5GmikjipImGVb4ezxNkEhJkd/VHDX9XQ5Z93sYQIhAK/HRsfXm46OT9Jy/3KLoNCqOg3OJdHdfFwl6ARN+8Xn"}]},"maintainers":[{"name":"ryanadolphson","email":"ryan.adolphson@q3contracting.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-okta-oauth-0.0.1.tgz_1506009616974_0.21956897317431867"}}},"readme":"# passport-okta-oauth\n\n[Passport](http://passportjs.org/) strategies for authenticating with [Okta](https://www.okta.com/) using OAuth 2.0.\n\n## Basic Setup\n\n```\npassport.use(new OktaStrategy({\n  audience: process.env.OKTA_AUDIENCE,   \n    // audience is the Okta Domain, \n    // e.g. https://example.okta.com, https://example.oktapreview.com\n    \n  clientID: process.env.OKTA_CLIENTID,\n    // clientID is the public Okta Application Client Credentials, \n    // its a 20 character alphanumeric string\n    // e.g. U7VYvsaiuqlDOHjIVTIA  (generated example)\n\n  clientSecret: process.env.OKTA_CLIENTSECRET,\n    // clientSecret is the private Okta Application Client Credentials, \n    // its a 40 character alphanumeric string with a hypen(s).\n    // e.g. Vwb-R4fQnSH7uJkokDhPI-WR4qEiuWFokYANM5C  (generated example)\n    \n  idp: process.env.OKTA_IDP,\n    // idp is the Identity Provider (id). This is an optional field\n    // its a 20 character alphanumeric string\n    // e.g. qOp8aaJmCEhvep5Il6ZJ  (generated example)\n    \n  scope: ['openid', 'email', 'profile'],\n  response_type: 'code',\n  callbackURL: baseURL + \"/auth/okta/callback\"\n    // callbackURL is the redirect URL Okta should return the user to\n    // This is a URL on your server\n    \n}, function(accessToken, refreshToken, profile, done) {\n  // Example Callback to Handle the Profile Object\n\n  return profile\n}));\n```\n\n\n## Profile Object\n\n```\n  profile = {\n    provider: 'okta-social',\n    name: {\n      fullName:   'John Smith',\n      familyName: 'Smith',\n      givenName:  'John'\n    },\n    emails: [{value: 'john.smith@example.com'}],\n    _raw: \"\\{...\\}\"\n    _json: {...}\n  }\n```\n","maintainers":[{"name":"ryanadolphson","email":"ryan.adolphson@q3contracting.com"}],"time":{"modified":"2022-06-23T13:12:22.296Z","created":"2017-09-21T16:00:17.962Z","0.0.1":"2017-09-21T16:00:17.962Z"},"homepage":"https://github.com/fischerdan/passport-okta-oauth","keywords":["passport","okta","auth","authn","authentication","identity"],"repository":{"type":"git","url":"git+https://github.com/fischerdan/passport-okta-oauth.git"},"author":{"name":"Steven Chau"},"bugs":{"url":"https://github.com/fischerdan/passport-okta-oauth/issues"},"license":"MIT","readmeFilename":"README.md"}