Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:2.0:single_sign_on:oidc_joomla [2026/09/07 16:48] – [Prerequisites] kainhoferen:2.0:single_sign_on:oidc_joomla [2026/09/08 15:52] (current) – [Caveats and Things to Consider] kainhofer
Line 17: Line 17:
 ===== Quick Overview ===== ===== Quick Overview =====
  
-Setting up a client (OpenID "Relying Party" - short RP) to use Admidio's user accounts for logging in consists of two steps: (1) The client (RP, Joomla in our case) needs to be set up with the data about the OpenID Provider (OP). Typically this is done via the metadata provided in the discovery URL of the provider. Otherwise one has to manually paste the endpoint URLs of the OpenID provider. Since Admidio provides those URLs with copy buttons in the preferences screen, even the manual configuration is rather straigtforward(2) Admidio needs to be told about the client. In particular, the entity ID and the redirect URL must be given, and a custom-generated (random) secret must be copied to the client configuration.+Setting up a client (OpenID "Relying Party" = "RP") to use Admidio's user accounts for log-in consists of two steps:  
 +  - The client (RP, Joomla in our case) needs to be set up with the data about the OpenID Provider (OP). Typically this is done via the metadata provided in the discovery URL of the provider. Otherwise one has to manually paste the endpoint URLs of the OpenID provider. Since Admidio provides those URLs with copy buttons in the preferences screen, even the manual configuration is rather straightforward 
 +  - Admidio needs to be told about the client. In particular, the entity ID and the redirect URL must be given, and a custom-generated (random) secret must be copied to the client configuration. 
  
 The concrete steps are: The concrete steps are:
Line 26: Line 29:
     * Choose an easily understood **label for the client** (only used in Admidio's list of clients, but has no technical use)     * Choose an easily understood **label for the client** (only used in Admidio's list of clients, but has no technical use)
     * Enter the **ClientID from the RP**, Copy the created Client Secret (you will later need to paste it indo Joomla's configuration), and enter the **Redirect URI** for the RP. Typically the latter can be found either on the RP's configuration page or in the documentation.     * Enter the **ClientID from the RP**, Copy the created Client Secret (you will later need to paste it indo Joomla's configuration), and enter the **Redirect URI** for the RP. Typically the latter can be found either on the RP's configuration page or in the documentation.
 +    * Many open source OIDC clients do not support encryption (PKCE, which is a security mechanism that prevents attackers from obtaining access unless their application started the initial login). By default, PKCE is required by Admidio, so in this case make sure that the requirement checkbox is turned off. Otherwise you will get an error. 
   * Optionally select (both in Admidio and the RP) which **profile fields should be mapped** to OpenID claims (attributes) and sent to the client, and configure which **group memberships** should be transmitted.   * Optionally select (both in Admidio and the RP) which **profile fields should be mapped** to OpenID claims (attributes) and sent to the client, and configure which **group memberships** should be transmitted.
  
Line 37: Line 41:
 {{ :en:2.0:sso:sso_oidc_joomla_01_plugin.png?direct&200 |}} {{ :en:2.0:sso:sso_oidc_joomla_01_plugin.png?direct&200 |}}
  
-This plugin is available as a **(very stripped-down) free version** and an (expensive) paid version that supports all OpenID Connect features. The free version only allows login to Joomla through Admidio. Features missing from the free version are: (1) automati creation of new users, (2) automatic plugin configuration from the discovery URL, (3) group mapping for permissions in Joomla, (4) attribute/field mapping for profile data, (5) single-log out from all other apps connected through OpenID with Admidio, (6) login to the administration backend with OpenID.+This plugin is available as a **(very stripped-down) free version** and an (expensive) paid version that supports all OpenID Connect features. The free version only allows login to Joomla through Admidio. Features missing from the free version are:  
 +  - automatic creation of new users,  
 +  - automatic plugin configuration from the discovery URL,  
 +  - group mapping for permissions in Joomla,  
 +  - attribute/field mapping for profile data,  
 +  - single-log out from all other apps connected through OpenID with Admidio,  
 +  - login to the administration backend with OpenID.
  
 <WRAP center round important 60%> <WRAP center round important 60%>
Line 60: Line 70:
   * The Client Secret should be a random string and will serve like a password. Admidio will create one and allow it to be copied to the client. Afterwards it is only stored as a hash in the database and not be recovered any more. However, one can create a new Client Secret in Admidio and copy that to the client's configuration.   * The Client Secret should be a random string and will serve like a password. Admidio will create one and allow it to be copied to the client. Afterwards it is only stored as a hash in the database and not be recovered any more. However, one can create a new Client Secret in Admidio and copy that to the client's configuration.
   * The "Redirect URL" in Admidio's config should be the Redirect / Callback URL of Step 1 of the Joomla configuration (typically ''https://[YOUR_INSTALLATION]''){{ :en:2.0:sso:sso_oidc_joomla_05_clientsetup.png?direct&900 |}}   * The "Redirect URL" in Admidio's config should be the Redirect / Callback URL of Step 1 of the Joomla configuration (typically ''https://[YOUR_INSTALLATION]''){{ :en:2.0:sso:sso_oidc_joomla_05_clientsetup.png?direct&900 |}}
 +  * The Joomla OIDC plugin does not support encryption (PKCE, which is a security mechanism that prevents attackers from obtaining access unless their application started the initial login). By default, PKCE is required by Admidio, so make sure that the requirement checkbox is turned off. Otherwise you will get an error. 
   * Enter the **scopes** you desire in Joomla's config and make sure that Admidio's config matches them. At least **openid must be included** (Admidio will implicitly add it). As the free plugin does not support advanced fields mapping or group mappin, only the "email" and "profile" scopes are relevant and should be selected (otherwise the email and username will not be sent to Joomla).   * Enter the **scopes** you desire in Joomla's config and make sure that Admidio's config matches them. At least **openid must be included** (Admidio will implicitly add it). As the free plugin does not support advanced fields mapping or group mappin, only the "email" and "profile" scopes are relevant and should be selected (otherwise the email and username will not be sent to Joomla).
  
Line 107: Line 118:
   * The free version of the miniOrange plugin is very limited, allowing only login for existing joomla users (with their Admidio passwords at the admidio site). Each user must first be created manually in Joomla!   * The free version of the miniOrange plugin is very limited, allowing only login for existing joomla users (with their Admidio passwords at the admidio site). Each user must first be created manually in Joomla!
   * The free version also does not allow transferring any group information from Admidio to Joomla, or other profile fields.   * The free version also does not allow transferring any group information from Admidio to Joomla, or other profile fields.
-  * Currently, there are no full-featured, free Single-Sign-On solutions for Joomla that support field and group mapping for permissions in Joomla. The miniOrange plugins we described here provide only basic SSO functionality, while the useful features are available only in the paid versions. Given the high costs of these versions and considering the tight budget most non-profit associations face, the paid version is usually way to expensive to even consider...+  * Currently, there are no full-featured, free Single-Sign-On solutions for Joomla that support field and group mapping for permissions in Joomla. The miniOrange plugins we described here provide only basic SSO functionality, while the useful features are available only in the paid versions. Given the high costs of these versions and considering the tight budget most non-profit associations face, the paid version is usually way too expensive to even consider...
  • en/2.0/single_sign_on/oidc_joomla.1788792520.txt.gz
  • Last modified: 2026/09/07 16:48
  • by kainhofer