{"_id":"@twilio-labs/netlify-okta-auth","_rev":"26-3f4a5c313f0c6fdb1bd417095bbb3d48","name":"@twilio-labs/netlify-okta-auth","dist-tags":{"latest":"1.0.2"},"versions":{"0.1.0-alpha.5":{"name":"@twilio-labs/netlify-okta-auth","version":"0.1.0-alpha.5","keywords":["okta","netlify"],"author":{"name":"Twilio Labs"},"license":"MIT","_id":"@twilio-labs/netlify-okta-auth@0.1.0-alpha.5","maintainers":[{"name":"twilio-labs-ci","email":"svc.twilio-labs-ci@twilio.com"},{"name":"ktalebian","email":"k@ousha.me"}],"homepage":"https://github.com/twilio-labs/netlify-okta-auth#readme","bugs":{"url":"https://github.com/twilio-labs/netlify-okta-auth/issues"},"dist":{"shasum":"02cf6e15ee84575de065855b6333a1a90e5fbce0","tarball":"https://registry.npmjs.org/@twilio-labs/netlify-okta-auth/-/netlify-okta-auth-0.1.0-alpha.5.tgz","fileCount":15,"integrity":"sha512-iPW96QDkMzpAyQCqXre0lmUMGroCWX/Q8Z7a4K0dNXfMZxw3sh+WGt5rEHGClpnoJzajoIS5d9AI2L+YpDtbkw==","signatures":[{"sig":"MEUCIQCmkSD9lDHMzzwRmH1skCCk4on9bpsrraV48T8jJiWCMgIgGOmnT1pOi5r4AL0Ms3v6kYfF9Nz191zR5zK0QMO1DpM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31416,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6ctwCRA9TVsSAnZWagAAEGEP/3i9Ehey+tCDPkBgPdf9\nvbISySp3iQJ/GoGArBacue0SlED0tX78v0E3kjliFbG4qRSHRAq03JIb0IrB\nNY/eH3Ekqe9oRdGEUtx/fIDwPXhqRxoEQZpeRPNw3Oh9WqxBouPJyTCcP3De\nI9/U8yUFUlScnQ/LzKyMZwYLehcx+UYRDjXlT9DFKqpmucvVVLbYyNzwnWS6\nBAO2gpplhI2escbiIeXlXzTtrLqR9xwJ4DHWkPF1vjujacFPl3bOvZK70bPr\ndFHHdaA7f4hHqPktrqKQx+K5srg1QifnrnbiezCvauc3QtkFVFbdG96eQU39\nC1RTc/rvoA9cWgd4XDs4Xqmj076JaMZqFLyrex0dd2hJ5ad5LT/QNjqobmvh\nlzSZv/hVDt2A8PnPCt30XlT4Bz7DqwQfEgDphouZwdMEwrL1Zd/jQ88s+wIx\nTAGMP1BN17ctSrpf/xBFaTs843YPntulunA+5hqvAf9SkGJF4aqDasCk7Dth\nMTb6Bn9RGez+R6lS0lu5EbPuWP4ace0HtqyGOxNmXmsYuHovcRDNvr69cXCI\nspXRaX/aiPTO5ZG0bUwB0L+JlZiKrSC0xDUKzEldiDXMRjCaP62AIpXemC/D\n2wMvPLDHe8vfjgcZqi8rwQeObYxozmV34xNSGKV1Hn6VNTHooNKNySHVCavl\nPky1\r\n=6ZrS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"78e0eca9b5fd7e762ec508e91e9d18a71b639f36","private":false,"scripts":{"ci":"yarn install --frozen-lockfile","test":"jest","build":"ttsc","preci":"rm -rf node_modules","start":"ts-node -C ttypescript index.ts","prepack":"rimraf dist && yarn run build && rimraf dist/src/tests","prepare":"husky install"},"_npmUser":{"name":"twilio-labs-ci","email":"svc.twilio-labs-ci@twilio.com"},"deprecated":"this package has been deprecated","repository":{"url":"git+https://github.com/twilio-labs/netlify-okta-auth.git","type":"git"},"_npmVersion":"8.1.2","description":"Implement Okta-based access control for your static site hosted on Netlify","directories":{},"_nodeVersion":"16.13.2","dependencies":{"jwks-rsa":"^2.0.5","strip-js":"^1.2.0","constant-case":"^3.0.4","node-jsonwebtoken":"^0.0.1","@netlify/functions":"^0.10.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.5","nock":"^13.2.1","husky":"^7.0.4","rimraf":"^3.0.2","nodemon":"^2.0.15","ts-jest":"^27.1.2","ts-node":"^10.4.0","typescript":"^4.5.4","@types/jest":"^27.0.3","ttypescript":"^1.5.13","@types/jsonwebtoken":"^8.5.6","ts-transformer-keys":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/netlify-okta-auth_0.1.0-alpha.5_1642711920614_0.49511070857133466","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@twilio-labs/netlify-okta-auth","version":"1.0.1","keywords":["okta","netlify"],"author":{"name":"Twilio Labs"},"license":"MIT","_id":"@twilio-labs/netlify-okta-auth@1.0.1","maintainers":[{"name":"twilio-labs-ci","email":"svc.twilio-labs-ci@twilio.com"},{"name":"ktalebian","email":"k@ousha.me"},{"name":"dprothero","email":"dprothero@twilio.com"}],"dist":{"shasum":"c83d4db2ecbc6f4461badc40ffd697dbfb084def","tarball":"https://registry.npmjs.org/@twilio-labs/netlify-okta-auth/-/netlify-okta-auth-1.0.1.tgz","fileCount":18,"integrity":"sha512-DSG6i5knMhfs3IYmyQ+ad7NzcF8Kqok8aUJuj4OS0SLs1GQKtcFIW5mKinp3CHlSkdV9soFN4VHIUF4lEdYzhQ==","signatures":[{"sig":"MEUCIHiIn/QOdBJIreiHQDvy0LDZj6Fozu6gSZfWyadb42tCAiEA/4j4beK41kWa+55s+bQjH4xS/vJI/ecQOveXjqby2JY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8xLkCRA9TVsSAnZWagAAhSsP/3j+fiZAySq+TKwekMpu\nxYD/4Ia2hSMpTsXDLzBlijvS/HdIf0lJslqzLgWzFvcooKZSJjvhxN/W+SpL\nrHPao5eSsPbUpuL5EDxm7l96GBDc1z/Ss17WwaIdfcQIvEJfao6b3L8L0Okg\nd/aNY19BXI12FOD5IaAGT4M+Ht/J7az48I0HwKNcavB0yi80+YlkTKr4kg5Y\nQqzkNrrI7waVLyOZvh+X5dwkvnnSQmFmltuP29Hmzz3DlZwucY5NHMa2He0e\n22eWvrGzuRFRC81/Iai4AJdgqIB7AY9S7dwd/z/nLN8MiG0klFhowZQokvX7\nttGJ4dfJIaPjy7xRamURNTGDyZs8nNK9F/NPB/BQ9yUoDp8fJAiLhEinxpYR\n8qEB155bVYgNhYRx8qZ1hbsAvq5RLvnAQKrVH6JDLtP0fOPcq646afFRyMM0\nuo+IfWQOemhJB1B6YmGXqr2I8PQSuIUA1gebzudz3PFF6Z+ceZS8idz0PzI7\nckIBrXm3LRDVQlkCbTL6KjW0FDwW598rAb2+kMWOySx/E4g1RC1iiSs7HUpT\nnW9ep5nDSFcwe4wpuOcVygPbLzesVq0x5eYQkIRx6DC7br+v0viWQp2MbBjE\nboZ1FVuTaUifFqEibZwsPihZNh5+vgfTUhGLoI+iXB8BT+KSlzYUo18lNPtx\nox3l\r\n=CQOE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","private":false,"scripts":{"ci":"yarn install --frozen-lockfile","test":"jest","build":"ttsc","preci":"rm -rf node_modules","start":"ts-node -C ttypescript index.ts","prepack":"rimraf dist && yarn run build && rimraf dist/src/tests","prepare":"husky install"},"_npmUser":{"name":"twilio-labs-ci","email":"svc.twilio-labs-ci@twilio.com"},"repository":{"url":"https://github.com/twilio-labs/netlify-okta-auth","type":"git"},"description":"Implement Okta-based access control for your static site hosted on Netlify","directories":{},"licenseText":"MIT License\n\nCopyright 2022 Twilio Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"jwks-rsa":"^2.0.5","constant-case":"^3.0.4","node-jsonwebtoken":"^0.0.1","@netlify/functions":"^0.10.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.5","nock":"^13.2.1","husky":"^7.0.4","rimraf":"^3.0.2","nodemon":"^2.0.15","ts-jest":"^27.1.2","ts-node":"^10.4.0","typescript":"^4.5.4","@types/jest":"^27.0.3","ttypescript":"^1.5.13","@types/jsonwebtoken":"^8.5.6","ts-transformer-keys":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/netlify-okta-auth_1.0.1_1643320036163_0.4743623021101979","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@twilio-labs/netlify-okta-auth","version":"1.0.2","keywords":["okta","netlify"],"author":{"name":"Twilio Labs"},"license":"MIT","_id":"@twilio-labs/netlify-okta-auth@1.0.2","maintainers":[{"name":"twilio-labs-ci","email":"svc.twilio-labs-ci@twilio.com"},{"name":"ktalebian","email":"k@ousha.me"},{"name":"dprothero","email":"dprothero@twilio.com"}],"dist":{"shasum":"f4933d3ca0a369a6b2b7e01ac8c04cf68673c2b6","tarball":"https://registry.npmjs.org/@twilio-labs/netlify-okta-auth/-/netlify-okta-auth-1.0.2.tgz","fileCount":18,"integrity":"sha512-zlM0nKS9FjAdf9BIXhVpgq7BXoIrCjaG4HV1KLkNU+Dapt4G+aSFTcFIhGpUXEnkYo1SLN3lsAomR4ZIJt5hGA==","signatures":[{"sig":"MEYCIQCGPun/C11HY+8kGE38e8XBGgkvrN5uX2hBkt0LW+67UAIhAK4OHxZpp5tZtXiOmrXzBTMRflXJxkx1aAaMkZHGjGET","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32422,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9CWACRA9TVsSAnZWagAAOKsP/3JJ4MQE1pdBUcGsw7VX\ntfwHzSpDh44IszwcSaw4dpWunJQUGaEOhegsiu1BWkpkPSrKst7a9PwjsegT\ninEccHGRcPyEdCL0ku2YDYv+0lNpubG/mSPXjVL/SDyO9NONcqi5yXw0d59I\nfN0fANl1RQufwOJOX7BQbP9QWxajxQUVytkEOiGn7gt/iW4Pa9LJbDZjkxz+\nhrpnRyRD6D7c6mCCvbZAM+MCIum06/itdbnTzIJNHcCTXWZvn2I8ar1Dx025\n2MxrdahuRn5wv/DGbAzJ5gRl2oyTa8tqW3nm9rxgzu9UsS79UQ1gRmpH+wAc\nPstlgofmSPuK9APvdy1gWX8LCbnyCeZbXhPagh7lA01EYwtewfrDlJNvGiHW\noUFpSjw+aZ7AdcfxUoSFmyWy0tXbl4NimuM/5wbgU30tgWHDb49gysHDqilC\nII3p6Ji9h4NZDSYERmT6Mu21C5Tyv/LnoIEkRzWBfCahmXXjWNveJ68kmKxF\nIwrtT5rVg1WAkepW1sLUczpQIKrKyDDgi6RLjKbIfJ9kMDTKZjYhUeQVteb+\nnqi0hiJKbcawqFjDsss8qqa1UIRafEvkuJC3clokvDWpLEhzm001J4we8ttW\ng3hf26kxQ1D8G1f02vPUL/U8sWjLGHe82EhcV6GDbQo1OHsiGOKdL/anrj84\nnZSR\r\n=+hhZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","private":false,"scripts":{"ci":"yarn install --frozen-lockfile","test":"jest","build":"ttsc","preci":"rm -rf node_modules","start":"ts-node -C ttypescript index.ts","prepack":"rimraf dist && yarn run build && rimraf dist/src/tests","prepare":"husky install"},"_npmUser":{"name":"twilio-labs-ci","email":"svc.twilio-labs-ci@twilio.com"},"repository":{"url":"https://github.com/twilio-labs/netlify-okta-auth","type":"git"},"description":"Implement Okta-based access control for your static site hosted on Netlify","directories":{},"licenseText":"MIT License\n\nCopyright 2022 Twilio Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"jwks-rsa":"^2.0.5","constant-case":"^3.0.4","node-jsonwebtoken":"^0.0.1","@netlify/functions":"^0.10.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.5","nock":"^13.2.1","husky":"^7.0.4","rimraf":"^3.0.2","nodemon":"^2.0.15","ts-jest":"^27.1.2","ts-node":"^10.4.0","typescript":"^4.5.4","@types/jest":"^27.0.3","ttypescript":"^1.5.13","@types/jsonwebtoken":"^8.5.6","ts-transformer-keys":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/netlify-okta-auth_1.0.2_1643390336082_0.5324636227485586","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-01-20T20:52:00.548Z","modified":"2026-04-03T23:58:16.714Z","0.1.0-alpha.5":"2022-01-20T20:52:00.801Z","1.0.0":"2022-01-26T20:09:29.799Z","1.0.1-pre.1":"2022-01-27T16:46:05.714Z","1.0.1-pre.2":"2022-01-27T16:49:37.716Z","1.0.1-pre.4":"2022-01-27T19:32:24.115Z","1.0.1-pre.5":"2022-01-27T20:01:40.436Z","1.0.1-pre.6":"2022-01-27T20:07:56.294Z","1.0.1-pre.7":"2022-01-27T20:20:42.825Z","1.0.1-pre.8":"2022-01-27T20:27:59.763Z","1.0.1":"2022-01-27T21:47:16.349Z","1.0.2":"2022-01-28T17:18:56.449Z"},"author":{"name":"Twilio Labs"},"license":"MIT","keywords":["okta","netlify"],"repository":{"url":"https://github.com/twilio-labs/netlify-okta-auth","type":"git"},"description":"Implement Okta-based access control for your static site hosted on Netlify","maintainers":[],"readme":"# netlify-okta-auth\n\nThis package allows you to use [Okta](https://www.okta.com/) as your identity provider for use with Netlify's [Role-based access control with JWT](https://docs.netlify.com/visitor-access/role-based-access-control/).\n\n## Who is this for?\n\nYou have a static website, hosted on [Netlify](https://www.netlify.com/) that doesn't have an identity backend, and you want to use Okta as the identity provider to gate access to all (or some) of the static resources hosted on the Netlify site.\n\n### Other options\n\nIf Okta or Netlify aren't requirements for you, then this is probably not the package for you. This package was built for the (admittedly narrow) use case for using specifically Netlify and Okta together.\n\n## What does this do?\n\nThis package handles marshalling the different types of [JWT](https://jwt.io) tokens that are used by Netlify and Okta. Netlify uses one flavor, and Okta another. You can learn more in [our architecture doc](./docs/architecture.md).\n\nWhen properly installed, you can require an end-user to authenticate using your Okta identity provider before they can access any of your content.\n\n## What value should I expect from this?\n\n1. **Reduced complexity.** You don't need to maintain your own Netlify functions to integrate with Okta.\n1. **Helpful docs.** This tool was originally built for an internal docs site by folks who love great technical docs.\n1. **Netlify preview site support.** In addition to the primary site, this package provides security for Netlify's preview deployment sites.\n1. **Production tested.** This package is used actively at [Twilio](https://www.twilio.com) for protecting internal documentation sites.\n\n## Installation and getting started\n\n[Read our installation guide »](./docs/installation.md)\n\n## Documentation\n\n- [Installation Guide](./docs/installation.md)\n- [Production Configuration](docs/production.md)\n- [Architecture Overview](./docs/architecture.md)\n- [Configuration Reference](./docs/reference.md)\n\n## Code of conduct\n\nBefore contributing issues, pull requests, comments, etc., please refer to our [code of conduct](CODE_OF_CODUCT.md).\n\n## Contributing\n\nContributions are welcome. Be sure to read our [code of conduct](CODE_OF_CODUCT.md) before opening a pull request.\n\n## License\n\n[MIT](LICENSE)\nCopyright 2022 Twilio Inc.\n","readmeFilename":"README.md"}