LDAP OAuth provider icon
Module Id
ldap-oauth-provider
Group Id
org.jahia.modules
Updated
Requires Jahia
7.3.0.0
Author
Florent BOURASSE
Category
Tools and Utilities
Status
COMMUNITY info

LDAP OAuth provider group_work

ldap oauth

This module works with Jahia OAuth and allows you to create, if needed, the user in your LDAP.

Dependencies & Dependants

FAQ

WHAT DOES THIS MODULE DO?

It brings the possibility to create a mapping between the data from a connector and the properties of LDAP user.
It creates a LDAP user if the user does not exist yet.
It connects the user as a result of the open authentication.

HOW TO USE IT?

Once you have downloaded Jahia OAuth and at least one connector:

  • Go to your site > site settings > Jahia OAuth
  • In the panel you will see the list of connectors that are available for your site and if you open the card you will see the parameters to fill in order to activate and use it
  • You will need to go to the open authentication website and setup an app to get the parameters. Please refer to the documentation on their website
  • Once this is done a new button will appear Actions and if you click on it you will access to the action modules part
  • On this part you can activate as many action modules type mapper as you which but you can only activate one provider
  • Create a mapping for the LDAP OAuth provider
  • Then in edit mode add the connection button of your connector to a page
  • Edit the root node of your site, go to the tab Options, activate the mixin ldapOAuth and specify:
    • the LDAP provider key (configured in Administration mode > Server settings > Users and Roles > User and group providers)
    • the Relative Distinguished Name (RDN)
    • the object classes of the user object
    • the user base distinguished name
    • the ldap attribute for the email
    • the ldap attribute for the first name
    • the ldap attribute for the last name
    • any potential ldap static attribute/value
  • Publish your site
  • Your users can now connect using open authentication

How To Install

INSTALLATION

Download the jar and deploy it on your instance then activate the module on the site you wish to use.

Images

License

MIT License

Copyright (c) 2018 - present Florent BOURASSÉ

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.