-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
LoginRadius
committed
Oct 18, 2023
1 parent
0d44683
commit 06b725a
Showing
122 changed files
with
8,089 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
339 changes: 339 additions & 0 deletions
339
drupal-10/src/customer_identity_and_access_management/LICENCE.txt
Large diffs are not rendered by default.
Oops, something went wrong.
206 changes: 206 additions & 0 deletions
206
drupal-10/src/customer_identity_and_access_management/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
# CIAM LoginRadius | ||
|
||
--- | ||
|
||
## SUMMARY | ||
|
||
Fully managed registration service including Email Registration, Social Login, password management, and data collection. | ||
|
||
|
||
## REQUIREMENTS | ||
LoginRadius PHP SDK library. Follow the installation instructions to add require php sdk library. | ||
|
||
## INSTALLATION | ||
|
||
1. Install as usual, see https://www.drupal.org/docs/extending-drupal/installing-modules for further information. | ||
2. After successfully installing, you will see CIAM LoginRadius module in modules list in your site's admin account but do NOT enable the module yet because the required LoginRadius PHP SDK library is not installed. | ||
3. Module comes with a file loginradius/composer.json. This file contains the dependency to LoginRadius PHP SDK so that Composer will know to download the SDK library in the next step. | ||
4. Download and initialize Composer Manager to the /modules directory. | ||
5. Let Composer download LoginRadius PHP SDK library for you. On command line of your server: | ||
1. Go to the root directory of your Drupal installation. | ||
2. Execute the following command to install PHP SDK | ||
```PHP | ||
composer require loginradius/php-sdk:11.3.0 | ||
``` | ||
6. After Successfully install LoginRadius PHP SDK, Enable CIAM Module. | ||
7. Click on configuration link shown in CIAM or click on | ||
configuration tab, Then go to people block and click on CIAM LoginRadius | ||
8. On configuration page, you will see config option for CIAM module. | ||
|
||
|
||
## CHANGE LOG | ||
|
||
### 5.1.2 | ||
* Added Compatibility with Drupal 10 . | ||
* Minor Enhancement | ||
|
||
### 5.1.1 | ||
* Fixed the issue with the redirection after login. | ||
|
||
### 5.1.0 | ||
* Replaced the getSocialUserProfile API with getProfileByAccessToken API as getSocialUserProfile API is deprecated in PHP-SDK version 11.2.0 or above. | ||
* Fixed the issue with the redirection to the profile page. | ||
* Added Compatibility with our latest PHP SDK 11.3.0 | ||
|
||
### 5.0.0 | ||
* Added compatibility with Drupal-9.x | ||
* Compatible with our latest PHP SDK 11.0.0 | ||
|
||
### 8.x-4.1 | ||
* Added option - Do you want to delete the customer profile from the LoginRadius database on account delete in Drupal. | ||
|
||
### 8.x-4.0 | ||
* Compatible with our latest PHP SDK 10.0.0. | ||
* Added custom domain option for the IEF page. | ||
* Added registration form schema option. | ||
* Standardize the naming convention of labels and text of the plugin. | ||
* Separate file for all notification messages for easy maintenance. | ||
* Standardize the debug log logging method. | ||
* Replaced Hosted page module name with Identity Experience Framework Module. | ||
|
||
### 8.x-3.16 | ||
* Removed page attachments hook from admin pages. | ||
* Removed Session which was storing all the user profile data. | ||
* Removed anonymous user session from database. | ||
* Add option to not store email/username in drupal. | ||
* Fixed some bugs. | ||
|
||
### 8.x-3.15 | ||
* Handled API Request Signing feature. | ||
* Standardize the code as per Drupal coding standard reported. | ||
|
||
### 8.x-3.14 | ||
* Capitalised HTTP Method Names. | ||
|
||
### 8.x-3.13 | ||
* SSO related bug fixed. | ||
|
||
### 8.x-3.12 | ||
* Bug Fixed: Admin logout when SSO is enabled. | ||
|
||
### 8.x-3.11 | ||
* Fixed SSO logout related bug on iOS. | ||
|
||
### 8.x-3.10 | ||
* Autologout if SSO is enabled. | ||
* Standardise usage of global variables. | ||
|
||
### 8.x-3.9 | ||
* Removed "lr_ciam_preprocess" hook from lr_ciam module. | ||
|
||
### 8.x-3.8 | ||
* Added cache contexts of user roles in SSO module to improve performance. | ||
* Added loading image variable to the required pages. | ||
* Added functionality to logout user from drupal after lr access token expired. | ||
|
||
### 8.x-3.7 | ||
* Removed some API calls and managed it with session to improve performance. | ||
|
||
### 8.x-3.6 | ||
* Fixed Config files naming bug. | ||
* Fixed User name collision bug. | ||
|
||
### 8.x-3.5 | ||
* Removed some Advance options from backend and they are directly handled by Cloud API. | ||
* Implemented custom login, registration & forgot password blocks. | ||
* Implemented set password functionality for social users. | ||
* Added Fallback JS. | ||
|
||
### 8.x-3.4 | ||
* Replaced LR Auth module with LR Simple OAuth module to authenticate the user using LR API. | ||
|
||
### 3.3.0 | ||
* Fixed bug related to user change password access. | ||
|
||
### 3.2.0 | ||
* Added lr auth module to generate access token of simple oauth module. | ||
|
||
### 3.1.0 | ||
* Added google v2 recaptcha feature. | ||
* Added One Click Sign In feature. | ||
* Added login with phone number feature. | ||
* Added two factor authentication feature. | ||
* Added hosted page module to login, registration, forgot password etc via loginradius hosted page. | ||
|
||
### 3.0.0 | ||
* Migrated plugin on V2 APIs. | ||
* Removed social login, social Profile Data, social sharing from package. | ||
* Added remember me option. | ||
* Added ask required field on traditional login option. | ||
* Added add/remove email functionality for frontend users. | ||
|
||
### 2.2.1 | ||
* Added readme and license files in module directory. | ||
|
||
### 2.2.0 | ||
* SSO related minor issue if hosted page is enabled | ||
* mapping related issue if type id email and date | ||
* Correct error message | ||
|
||
### 2.1.0 | ||
* Fixed all known bugs. | ||
* Moduler approch with all features in plugin. | ||
* Add a submodule for Hosted page enable functionality | ||
* Log system for all success/error API in db and show it on admin panel. | ||
* Show total number of user logged on website in extended user profile. | ||
* user can verify in login/notlogin both case. | ||
|
||
### 2.0.0 | ||
* Added following options in module:- | ||
1. Email verification url | ||
2. Forgot password url | ||
3. In form validation message | ||
4. Terms and condition html | ||
5. Form render delay | ||
6. Password length | ||
7. V2 recaptcha | ||
8. V2 recaptcha site key | ||
9. Enable login on email verification | ||
10. Prompt password on social login | ||
11. Enable login with username | ||
12. Forgot password template | ||
13. Email verification template | ||
|
||
|
||
|
||
|
||
## LIVE DEMO | ||
http://demo.loginradius.com | ||
|
||
## FAQ | ||
|
||
Q: What is LoginRadius? | ||
|
||
A: LoginRadius is a Software As A Service (SAAS) which allows users to log in | ||
to a third party website via | ||
popular open IDs/oAuths such as Google, Facebook, Yahoo, AOL and over 20 more. | ||
|
||
Q: How long can I keep my account? | ||
|
||
A: How long you use LoginRadius is completely up to you. You may remove | ||
LoginRadius | ||
from your website and delete your account at any time. | ||
|
||
Q: What is the best way to reach the LoginRadius Team? | ||
|
||
A: If you have any questions or concerns regarding LoginRadius, | ||
please write us at hello@loginradius.com. | ||
|
||
Q: How much you charge for this service? | ||
|
||
A: It is FREE and will remain free, but for advanced features and customized | ||
solutions, | ||
there are various packages available. Please contact us for further | ||
details. | ||
|
||
Q: Do you have a live demo site? | ||
|
||
A: Yes, please visit our Drupal live demo site at | ||
http://demo.loginradius.com | ||
|
||
|
||
## CONTACT | ||
|
||
Current maintainers: | ||
* LoginRadius - http://www.loginradius.com | ||
* Email: hello [at] loginradius [dot] com |
9 changes: 9 additions & 0 deletions
9
drupal-10/src/customer_identity_and_access_management/composer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "drupal/customer_identity_and_access_management", | ||
"description": "The LoginRadius Customer Identity and Access Management", | ||
"type": "drupal-module", | ||
"require": { | ||
"loginradius/php-sdk": "11.3.0" | ||
}, | ||
"license": "GPL-2.0+" | ||
} |
26 changes: 26 additions & 0 deletions
26
drupal-10/src/customer_identity_and_access_management/lr_ciam/ciam_lang.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
define('SOCIAL_LOGIN_MSG', 'Verification link has been sent to your email address.'); | ||
define('LOGIN_BY_EMAIL_MSG', 'Passwordless login link has been sent to your provided email address, check email for further instruction.'); | ||
define('REGISTRATION_SUCCESS_MSG', 'A verification email has been sent to your provided email address, please check your email for further instructions.'); | ||
|
||
define('FORGOT_PASSWORD_MSG', 'Password reset information sent to your provided email address, check email for further instruction.'); | ||
define('FORGOT_PASSWORD_SUCCESS_MSG', 'Password has been reset successfully.'); | ||
|
||
define('VERIFICATION_OTP_SEND_ON_EMAIL_MSG', 'OTP has been sent to your email address.'); | ||
define('EMAIL_VERIFICATION_SUCCESS_MSG', 'Your email address has been verified.'); | ||
|
||
define('TWO_FA_ENABLED_MSG', 'Multi Factor Authentication has been enabled.'); | ||
define('TWO_FA_DISABLED_MSG', 'Multi Factor Authentication has been disabled.'); | ||
|
||
define('OTP_SEND_ON_PHONE_SUCCESS_MSG', 'OTP has been sent to your phone number.'); | ||
define('UPDATE_PHONE_SUCCESS_MSG', 'Phone number has been updated successfully.'); | ||
|
||
define('ACCOUNT_LINKING_MSG', 'Account has been linked.'); | ||
define('ACCOUNT_UNLINKING_MSG', 'Account has been unlinked.'); | ||
|
||
define('ADD_EMAIL_MSG', 'Please verify your email.'); | ||
define('REMOVE_EMAIL_MSG', 'Email has been removed successfully.'); | ||
|
||
define('UPDATE_USER_PROFILE', 'User profile has been updated successfully.'); | ||
define('CHANGE_PASSWORD_SUCCESS_MSG', 'Password has been updated successfully.'); |
2 changes: 2 additions & 0 deletions
2
...0/src/customer_identity_and_access_management/lr_ciam/config/install/lr_ciam.settings.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
login_redirection: 0 | ||
popup_title: 'Please fill the following details to proceed' |
Oops, something went wrong.