enonic / app-simple-idprovider

Apache License 2.0
0 stars 2 forks source link

Simple ID Provider App for Enonic XP

Actions Status License

This ID Provider contains a simple login/logout page to authenticate your local users. (Optional) Provides a password reset mechanism. (Optional) Retrieves and displays the Gravatar picture of a logged in user.

Usage

Step 1: Install the application

  1. In the admin tool "Applications" of your Enonic XP installation, click on "Install".
  2. Select the tab "Enonic Market", find "Simple ID Provider", and click on the link "Install".

Step 2: Configure the ID provider and email authentication

Configure the ID Provider:

You need to have set up the mail configuration for "Forgot password" and Two-step email authentication. (See Mail Configuration for more information).

You need to have registered your website on reCaptcha (See reCaptcha for more information).

Step 3: Create and configure the user store

  1. Edit the configuration file "com.enonic.xp.web.vhost.cfg", and set the new user store to your virtual host. (See Virtual Host Configuration for more information).

    enabled=true
    
    mapping.admin.host = localhost
    mapping.admin.source = /admin
    mapping.admin.target = /admin
    mapping.admin.idProvider.system = default
    
    mapping.mysite.host = localhost
    mapping.mysite.source = /
    mapping.mysite.target = /portal/master/mysite
    mapping.mysite.idProvider.simpleid = default

Releases and Compatibility

App version Required XP version
2.2.0 7.7.4
2.1.1 7.7.4
2.1.0 7.7.0
2.0.0 7.0.0
1.2.2 6.13.0
1.2.1 6.13.0
1.2.0 6.13.0
1.1.3 6.7.0
1.1.2 6.7.0
1.1.1 6.7.0
1.1.0 6.7.0
1.0.0 6.6.0

Building and deploying

Build this application from the command line. Go to the root of the project with the Enonic CLI:

enonic project build

To deploy the app with the Enonic CLI:

enonic project deploy

Releasing new version

To release a new version of this app:

Update the version in gradle.properties on the master branch. This should trigger a Github action that publishes the app.