Files
ofbiz-plugins/ecommerce
Jacques Le Roux 6ed67067c7 Fixed: Error message is displayed when user having space in username logs
in at ecommerce
(OFBIZ-10671)

Steps to regenerate:
 # Open URL: [https://demo-trunk.ofbiz.apache.org/ecommerce/control/main]
 # Click on register in header section
 # Provide all the mandatory information but provide a user name such that is 
    contains a space (like: Walter White or Jesse Pinkman)
 # Click on save button

Actual: When user clicks on save button then he is redirected to main page of 
ecommerce and an error message is displayed. 
Similarly when user with space in username tries to login, error message is 
displayed. 

Praven: Added standard regex for username allowed alphabets, numbers, and _-
jleroux: actually "-" was  missing in the regepx definition.

Thanks: Arpit Mor for report and Praveen Sharma for the fix

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1862466 13f79535-47bb-0310-9956-ffa450edef68
2019-07-03 13:30:28 +00:00
..
2017-10-27 08:11:12 +00:00

Apache OFBiz

Ecommerce component

more information

How to use Janrain Engage Social Login.

1.Get API Key from http://www.janrain.com/products/engage/social-login. 2.Configure file setting : ecommerce.properties you can put it Example: -------------------------------------------------------------------------------- # -- Enable janrain engage (Y/ N) default N janrain.enabled=N

        # -- Janrain api key (secret)
        janrain.apiKey=exampleKey
        
        # -- Janrain application domain
        janrain.baseUrl=https://example.rpxnow.com
        
        # -- Janrain application name
        janrain.appName=exampleAppName
      --------------------------------------------------------------------------------

3.Restart the server.

How to test Janrain Engage Social Login.

  1. Go to Login screen.
  2. Look the Social Login Widget and you can use these existing accounts to sign-in to your website.
  3. First time if account does not exists then system will create new account.
  4. After account existing in the system you can use "Social Login Widget" to login account.

===================================================================================================