Download the PHP package innocode-digital/inncognito without Composer
On this page you can find all versions of the php package innocode-digital/inncognito. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download innocode-digital/inncognito
More information about innocode-digital/inncognito
Files in innocode-digital/inncognito
Package inncognito
Short Description Login and Registration with user's AWS Cognito account.
License GPL-2.0+
Informations about the package inncognito
Inncognito
Description
Login and Registration with user's AWS Cognito account.
Install
-
Preferable way is to use Composer:
`
By default, it will be installed as Must Use Plugin. It's possible to control with
extra.installer-paths
incomposer.json
. -
Alternate way is to clone this repo to
wp-content/mu-plugins/
orwp-content/plugins/
:`
If plugin was installed as regular plugin then activate AWS Lambda Prerender from Plugins page
or WP-CLI: wp plugin activate inncognito
.
Configuration
Add the following constants to wp-config.php
:
`
Usage
Change callback URL:
Use case could be when e.g. you do not want to be limited with callback URL requirement (it's required to set all callbacks in Cognito settings) but want to use one with custom redirects handling.
Change login URL to custom endpoint:
Change session cookie name:
Session is used to handle actions and redirects, prevent CSRF attacks.
Force users to log in with their AWS Cognito account:
Works for users who were logged in with SSO at least once.
Disable registration through AWS Cognito during SSO:
`
All versions of inncognito with dependencies
ext-json Version *
firebase/php-jwt Version ^6.0
paragonie/sodium_compat Version ^1.17
endroid/qr-code Version ^4.3
aws/aws-sdk-php Version ^3.222