{"id":19639510,"url":"https://github.com/wp-digital/inncognito","last_synced_at":"2026-05-08T15:20:32.953Z","repository":{"id":37420598,"uuid":"487103296","full_name":"wp-digital/inncognito","owner":"wp-digital","description":"Login and Registration with user's AWS Cognito account.","archived":false,"fork":false,"pushed_at":"2023-01-04T10:02:14.000Z","size":347,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-02-10T01:34:41.133Z","etag":null,"topics":["aws","aws-cognito","cognito","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wp-digital.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-29T20:33:10.000Z","updated_at":"2022-06-02T11:03:45.000Z","dependencies_parsed_at":"2022-08-18T21:11:16.796Z","dependency_job_id":null,"html_url":"https://github.com/wp-digital/inncognito","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Finncognito","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Finncognito/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Finncognito/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Finncognito/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wp-digital","download_url":"https://codeload.github.com/wp-digital/inncognito/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240943425,"owners_count":19882397,"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":["aws","aws-cognito","cognito","wordpress","wordpress-plugin"],"created_at":"2024-11-11T13:01:34.405Z","updated_at":"2026-05-08T15:20:27.897Z","avatar_url":"https://github.com/wp-digital.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inncognito\n\n### Description\n\nLogin and Registration with user's AWS Cognito account.\n\n### Install\n\n- Preferable way is to use [Composer](https://getcomposer.org/):\n\n    ````\n    composer require innocode-digital/wp-inncognito\n    ````\n\n  By default, it will be installed as [Must Use Plugin](https://codex.wordpress.org/Must_Use_Plugins).\n  It's possible to control with `extra.installer-paths` in `composer.json`.\n\n- Alternate way is to clone this repo to `wp-content/mu-plugins/` or `wp-content/plugins/`:\n\n    ````\n    cd wp-content/plugins/\n    git clone git@github.com:innocode-digital/inncognito.git\n    cd inncognito/\n    composer install\n    ````\n\nIf plugin was installed as regular plugin then activate **AWS Lambda Prerender** from Plugins page\nor [WP-CLI](https://make.wordpress.org/cli/handbook/): `wp plugin activate inncognito`.\n\n### Configuration\n\nAdd the following constants to `wp-config.php`:\n\n````\ndefine( 'INNCOGNITO_DOMAIN', '' ); // Either domain or fully qualified URL (Cognito or custom).\ndefine( 'INNCOGNITO_CLIENT_ID', '' );\ndefine( 'INNCOGNITO_CLIENT_SECRET', '' );\ndefine( 'INNCOGNITO_REGION', '' ); // e.g. eu-west-1\ndefine( 'INNCOGNITO_USER_POOL_ID', '' );\n````\n\n### Usage\n\nChange callback URL:\n\n```\ndefine( 'INNCOGNITO_REDIRECT_URI', 'https://another-site.com/login/' );\n```\n\nUse case could be when e.g. you do not want to be limited with callback URL requirement\n(it's required to set all callbacks in Cognito settings) but want to use one with custom\nredirects handling.\n\n---\n\nChange login URL to custom endpoint:\n\n```\ndefine( 'INNCOGNITO_ENDPOINT', 'cognito' ); // default: 'inncognito'\n```\n\n---\n\nChange session cookie name:\n\n```\ndefine( 'INNCOGNITO_COOKIE', 'cognito' ); // default: 'inncognito'\n```\n\nSession is used to handle actions and redirects, prevent CSRF attacks.\n\n---\n\nForce users to log in with their AWS Cognito account:\n\n```\ndefine( 'INNCOGNITO_FORCE_COGNITO', true );\n```\n\nWorks for users who were logged in with SSO at least once.\n\n---\n\nDisable registration through AWS Cognito during SSO:\n\n````\ndefine( 'INNCOGNITO_DISALLOW_REGISTRATION', true );\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-digital%2Finncognito","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwp-digital%2Finncognito","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-digital%2Finncognito/lists"}