{"_id":"@adamrpostjr/strapi-plugin-sso","_rev":"5-c29ab7462382b98d4fd0eff40da82386","name":"@adamrpostjr/strapi-plugin-sso","dist-tags":{"latest":"0.4.24"},"versions":{"0.4.21":{"name":"@adamrpostjr/strapi-plugin-sso","version":"0.4.21","keywords":["strapi","plugin","oauth","SSO","Google","Cognito"],"author":{"url":"https://github.com/yasudacloud/strapi-plugin-sso","name":"yasudacloud"},"license":"MIT","_id":"@adamrpostjr/strapi-plugin-sso@0.4.21","maintainers":[{"name":"adamrpostjr","email":"adamrpostjr@gmail.com"}],"bugs":{"url":"https://github.com/yasudacloud/strapi-plugin-sso/issues"},"dist":{"shasum":"fc4666158a9d6979876bf257102c1e1253851a9b","tarball":"https://registry.npmjs.org/@adamrpostjr/strapi-plugin-sso/-/strapi-plugin-sso-0.4.21.tgz","fileCount":62,"integrity":"sha512-/Ig3q7Qcivlby4Lkx8EGhy3PQtL4iGUw1q2VUjaM+ehm/uM4amfAU8LJzDgNj8Q8E26ttV2RJR8QuFjs2qLuKw==","signatures":[{"sig":"MEUCIQCdee+cwLccpOqJH9ReXaW5d/RfvLcYuTRaGGfAYfnZHgIgesxPFJi17SAzStmbAWM52twdfec5PnRO6CBzhBS+i0w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1424514},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["/node_modules/",".tmp",".cache"]},"strapi":{"kind":"plugin","name":"strapi-plugin-sso","description":"Version 4 enables single sign-on","displayName":"Single Sign On"},"engines":{"npm":">=7.0.0","node":">=14.19.1 <=18.x.x"},"scripts":{"lint":"eslint","test":"jest"},"_npmUser":{"name":"adamrpostjr","email":"adamrpostjr@gmail.com"},"repository":{"url":"https://github.com/yasudacloud/strapi-plugin-sso","type":"git"},"description":"Plug-in for single sign-on with Strapi!","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 yasudacloud\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":{"pkce-challenge":"^3.1.0","generate-password":"^1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","eslint":"^8.28.0","babel-eslint":"^10.1.0"},"peerDependencies":{"@strapi/strapi":"^4.6.0"},"_npmOperationalInternal":{"tmp":"tmp/strapi-plugin-sso_0.4.21_1703614687185_0.06835241291270533","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.4.22":{"name":"@adamrpostjr/strapi-plugin-sso","version":"0.4.22","keywords":["strapi","plugin","oauth","SSO","Google","Cognito"],"author":{"url":"https://github.com/adamrpostjr/strapi-plugin-sso","name":"adamrpostjr"},"license":"MIT","_id":"@adamrpostjr/strapi-plugin-sso@0.4.22","maintainers":[{"name":"adamrpostjr","email":"adamrpostjr@gmail.com"}],"bugs":{"url":"https://github.com/adamrpostjr/strapi-plugin-sso/issues"},"dist":{"shasum":"df65503c1e8b8bf5a7dbf127cb0188b4ecaae434","tarball":"https://registry.npmjs.org/@adamrpostjr/strapi-plugin-sso/-/strapi-plugin-sso-0.4.22.tgz","fileCount":62,"integrity":"sha512-ZH1kDs6mGqdKkTnZZD6WMsEX+yJ+e4aCbYl/rA0AN7t9ThGueflihLQmtuSOpnUfqkc1jr4LSsrEQ+Ag0v0cxQ==","signatures":[{"sig":"MEQCIGpM2RHpZc1zvLtFOuSIiO7awvi8qgKuuU/KOoCziBejAiB7yWfjdWEQoIeCMtRwy0hNjesYBIwZe6jVPd2YIfDk3g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1424570},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["/node_modules/",".tmp",".cache"]},"strapi":{"kind":"plugin","name":"strapi-plugin-sso","description":"Version 4 enables single sign-on","displayName":"Single Sign On"},"engines":{"npm":">=7.0.0","node":">=14.19.1 <=18.x.x"},"scripts":{"lint":"eslint","test":"jest"},"_npmUser":{"name":"adamrpostjr","email":"adamrpostjr@gmail.com"},"repository":{"url":"https://github.com/adamrpostjr/strapi-plugin-sso","type":"git"},"description":"Plug-in for single sign-on with Strapi!","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 yasudacloud\nCopyright (c) 2023 adamrpostjr\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":{"pkce-challenge":"^3.1.0","generate-password":"^1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","eslint":"^8.28.0","babel-eslint":"^10.1.0"},"peerDependencies":{"@strapi/strapi":"^4.6.0"},"_npmOperationalInternal":{"tmp":"tmp/strapi-plugin-sso_0.4.22_1703615057857_0.9917046212835368","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.4.23":{"name":"@adamrpostjr/strapi-plugin-sso","version":"0.4.23","keywords":["strapi","plugin","oauth","SSO","Google","Cognito"],"author":{"url":"https://github.com/adamrpostjr/strapi-plugin-sso","name":"adamrpostjr"},"license":"MIT","_id":"@adamrpostjr/strapi-plugin-sso@0.4.23","maintainers":[{"name":"adamrpostjr","email":"adamrpostjr@gmail.com"}],"bugs":{"url":"https://github.com/adamrpostjr/strapi-plugin-sso/issues"},"dist":{"shasum":"9ef01936f90704140c75a3abada0b3b5b4c48f0e","tarball":"https://registry.npmjs.org/@adamrpostjr/strapi-plugin-sso/-/strapi-plugin-sso-0.4.23.tgz","fileCount":62,"integrity":"sha512-32eqGBnpE3mn6lyemH5aMzOayvJse1493BYVuvR4b3hKz221aB29bwGWE3AXvtsw5auGnKBjoJ9//O728tO4vg==","signatures":[{"sig":"MEUCIQCfEWMWogEbPAOzvGoJX0+xX+94poXxuifT2j6bRT8e1wIgS9YUSl6mJFOBqVg1ZfD2nAma6kRvP6t5/vTe3D1BPa0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1424679},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["/node_modules/",".tmp",".cache"]},"strapi":{"kind":"plugin","name":"strapi-plugin-sso","description":"Version 4 enables single sign-on","displayName":"Single Sign On"},"engines":{"npm":">=7.0.0","node":">=14.19.1 <=18.x.x"},"scripts":{"lint":"eslint","test":"jest"},"_npmUser":{"name":"adamrpostjr","email":"adamrpostjr@gmail.com"},"repository":{"url":"https://github.com/adamrpostjr/strapi-plugin-sso","type":"git"},"description":"Plug-in for single sign-on with Strapi!","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 yasudacloud\nCopyright (c) 2023 adamrpostjr\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":{"pkce-challenge":"^3.1.0","generate-password":"^1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","eslint":"^8.28.0","babel-eslint":"^10.1.0"},"peerDependencies":{"@strapi/strapi":"^4.6.0"},"_npmOperationalInternal":{"tmp":"tmp/strapi-plugin-sso_0.4.23_1703615147723_0.4201045755435482","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.4.24":{"name":"@adamrpostjr/strapi-plugin-sso","version":"0.4.24","keywords":["strapi","plugin","oauth","SSO","Google","Cognito"],"author":{"url":"https://github.com/adamrpostjr/strapi-plugin-sso","name":"adamrpostjr"},"license":"MIT","_id":"@adamrpostjr/strapi-plugin-sso@0.4.24","maintainers":[{"name":"adamrpostjr","email":"adamrpostjr@gmail.com"}],"bugs":{"url":"https://github.com/adamrpostjr/strapi-plugin-sso/issues"},"dist":{"shasum":"318aa2abdcea27fd036f11aedf3871c4d93b2c5e","tarball":"https://registry.npmjs.org/@adamrpostjr/strapi-plugin-sso/-/strapi-plugin-sso-0.4.24.tgz","fileCount":62,"integrity":"sha512-R1Kv/zFfoTfxcnAcvO3wPeRYBOsBzMFX3LN4RRaWzqpc2jEyZZSxjR2z4tkiOYu4xOACjeWQlS+HC2TKBQplxg==","signatures":[{"sig":"MEUCID06xtTXy+XrZ4ggAUQ9kQ+ZC3g785zlg5c5/QfcjiZhAiEAvcka+zhoFw91Ko70qzLKeg1XEd1WG5WWuGh8cebE2Ug=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1424655},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["/node_modules/",".tmp",".cache"]},"strapi":{"kind":"plugin","name":"strapi-plugin-sso","description":"Version 4 enables single sign-on","displayName":"Single Sign On"},"engines":{"node":">=16.x.x <=20.x.x"},"scripts":{"lint":"eslint","test":"jest"},"_npmUser":{"name":"adamrpostjr","email":"adamrpostjr@gmail.com"},"repository":{"url":"https://github.com/adamrpostjr/strapi-plugin-sso","type":"git"},"description":"Plug-in for single sign-on with Strapi!","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 yasudacloud\nCopyright (c) 2023 adamrpostjr\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":{"pkce-challenge":"^3.1.0","generate-password":"^1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","eslint":"^8.28.0","babel-eslint":"^10.1.0"},"peerDependencies":{"@strapi/strapi":"^4.6.0"},"_npmOperationalInternal":{"tmp":"tmp/strapi-plugin-sso_0.4.24_1703851952280_0.4962414986936907","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2023-12-26T18:18:07.055Z","modified":"2026-06-25T15:26:24.404Z","0.4.21":"2023-12-26T18:18:07.374Z","0.4.22":"2023-12-26T18:24:18.082Z","0.4.23":"2023-12-26T18:25:48.004Z","0.4.24":"2023-12-29T12:12:32.531Z"},"bugs":{"url":"https://github.com/adamrpostjr/strapi-plugin-sso/issues"},"author":{"url":"https://github.com/adamrpostjr/strapi-plugin-sso","name":"adamrpostjr"},"license":"MIT","keywords":["strapi","plugin","oauth","SSO","Google","Cognito"],"repository":{"url":"https://github.com/adamrpostjr/strapi-plugin-sso","type":"git"},"description":"Plug-in for single sign-on with Strapi!","maintainers":[{"name":"adamrpostjr","email":"adamrpostjr@gmail.com"}],"readme":"<div align=\"center\">\n <img src=\"https://github.com/yasudacloud/strapi-plugin-sso/blob/main/docs/strapi-plugin-sso.png?raw=true\" width=\"180\"/>\n</div>\n\n# Strapi plugin strapi-plugin-sso\n\nThis plugin can provide single sign-on.\n\nYou will be able to log in to the administration screen using one of the following providers: \n- Google \n- Cognito\n- Azure\n- OIDC\n\nCurrently supports Cognito user pool, Google accounts and OIDC.\n\nPlease read the [documents](#user-content-documentationenglish) for some precautions.\n\n**This plugin is developed by one engineer.**\n**If possible, consider using the Gold Plan features.**\n\n# Easy to install\n```shell\nyarn add @adamrpotjr/strapi-plugin-sso\n```\nor\n```shell\nnpm i @adamrpotjr/strapi-plugin-sso\n```\n\n# Requirements\n- Strapi Version4\n- **strapi-plugin-sso**\n- Google Account or AWS Cognito UserPool or a OIDC provider\n\n# Example Configuration\n```javascript\n// config/plugins.js\nmodule.exports = ({env}) => ({\n  'strapi-plugin-sso': {\n    enabled: true,\n    config: {\n      // either set the token to sessionstorage if false or localstorage if true\n      REMEMBER_ME: false,\n      // Google\n      GOOGLE_OAUTH_CLIENT_ID: '[Client ID created in GCP]',\n      GOOGLE_OAUTH_CLIENT_SECRET: '[Client Secret created in GCP]',\n      GOOGLE_OAUTH_REDIRECT_URI: 'http://localhost:1337/strapi-plugin-sso/google/callback', // URI after successful login\n      GOOGLE_ALIAS: '', // Gmail Aliases\n      GOOGLE_GSUITE_HD: '', // G Suite Primary Domain\n      \n      // Cognito\n      COGNITO_OAUTH_CLIENT_ID: '[Client ID created in AWS Cognito]',\n      COGNITO_OAUTH_CLIENT_SECRET: '[Client Secret created in AWS Cognito]',\n      COGNITO_OAUTH_DOMAIN: '[OAuth Domain created in AWS Cognito]',\n      COGNITO_OAUTH_REDIRECT_URI: 'http://localhost:1337/strapi-plugin-sso/cognito/callback', //  // URI after successful login\n      COGNITO_OAUTH_REGION: 'ap-northeast-1', // AWS Cognito Region \n\n      // AzureAD\n      AZUREAD_OAUTH_REDIRECT_URI: 'http://localhost:1337/strapi-plugin-sso/azuread/callback',\n      AZUREAD_TENANT_ID: '[Tenant ID created in AzureAD]',\n      AZUREAD_OAUTH_CLIENT_ID: '[Client ID created in AzureAD]', // [Application (client) ID]\n      AZUREAD_OAUTH_CLIENT_SECRET: '[Client Secret created in AzureAD]',\n      AZUREAD_SCOPE: 'user.read', // https://learn.microsoft.com/en-us/graph/permissions-reference\n\n      // OpenID Connect\n      OIDC_REDIRECT_URI: 'http://localhost:1337/strapi-plugin-sso/oidc/callback', // URI after successful login\n      OIDC_CLIENT_ID: '[Client ID from OpenID Provider]',     \n      OIDC_CLIENT_SECRET: '[Client Secret from OpenID Provider]',\n      \n      OIDC_SCOPES: 'openid profile email', // https://oauth.net/2/scope/\n      // API Endpoints required for OIDC\n      OIDC_AUTHORIZATION_ENDPOINT: '[API Endpoint]', \n      OIDC_TOKEN_ENDPOINT: '[API Endpoint]',\n      OIDC_USER_INFO_ENDPOINT: '[API Endpoint]',\n      OIDC_USER_INFO_ENDPOINT_WITH_AUTH_HEADER: false,\n      OIDC_GRANT_TYPE: 'authorization_code', // https://oauth.net/2/grant-types/\n      // customizable username arguments\n      OIDC_FAMILY_NAME_FIELD: 'family_name',\n      OIDC_GIVEN_NAME_FIELD: 'given_name',\n    }\n  }\n})\n```\n\n# Support\n- ✅ NodeJS <= 18.x\n- Strapi 4.1.7 or higher\n\n# Documentation(English)\n\n[Google Single Sign On Setup](https://github.com/yasudacloud/strapi-plugin-sso/blob/main/docs/en/google/setup.md)\n\n[Google Single Sign On Specifications](https://github.com/yasudacloud/strapi-plugin-sso/blob/main/docs/en/google/admin.md)\n\n[Cognito Single Sign On Setup](https://github.com/yasudacloud/strapi-plugin-sso/blob/main/docs/en/cognito/setup.md)\n\n[AzureAD Single Sign On Setup](https://github.com/yasudacloud/strapi-plugin-sso/blob/main/docs/en/azuread/setup.md)\n\n[OIDC Single Sign On Setup](https://github.com/yasudacloud/strapi-plugin-sso/blob/main/docs/en/oidc/setup.md)\n\n# Documentation(Japanese)\n[Description](https://github.com/yasudacloud/strapi-plugin-sso/blob/main/docs/README.md)\n\n[Google Single Sign On Setup](https://github.com/yasudacloud/strapi-plugin-sso/blob/main/docs/ja/google/setup.md)\n\n[Google Single Sign-On Specifications](https://github.com/yasudacloud/strapi-plugin-sso/blob/main/docs/ja/google/admin.md)\n\n[Cognito Single Sign On Setup](https://github.com/yasudacloud/strapi-plugin-sso/blob/main/docs/ja/cognito/setup.md)\n\n[Cognito Single Sign-On Specifications](https://github.com/yasudacloud/strapi-plugin-sso/blob/main/docs/ja/cognito/admin.md)\n\nTODO AzureAD Single Sign On Setup\n\nTODO OIDC Single Sign On Setup\n\n# Demo\n![CognitoDemo](https://github.com/yasudacloud/strapi-plugin-sso/blob/main/docs/demo.gif?raw=true \"DemoMovie\")\n","readmeFilename":"README.md"}