This is the custom module (jahia-oauth-okta) for running on a Jahia server.
Log sitekey and authorizationurl Thomas LE CLERE Today 11:55
FIX Cache Manager with module name to avoid ClassCastException Thomas LE CLERE 25/09/2023 14:21
This module is a community module to show how to implement an Okta Authentication based on OAuth protocol.
jahia-oauth-okta
module depends on jahia-authentication
and jahia-oauth
modules.
Jahia User Group Provider
It is not recommended to save external user in the JCR. This module implements a custom user group provider.
The User Group Provider calls the Okta admin Rest API in order to search groups, users and members.
API results are cached in a specific EHCache for users and another for groups.
Configure the Okta user group provider under server administration:
https://my.oktapreview.com
) must not end with a slash character /
and without the protocol (https
is mandatory, hard-coded)Activate those modules to your website and go to site settings.
openid
: to enable openid flowemail
: to be able to get profile information (email in the sub property from the JSON token)/
MIT License
Copyright (c) 2022 Thomas LC.
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.