Search Results :
×Set up Single Sign-On (SSO) on your WordPress website via the Keycloak Identity Provider (IDP) with the WordPress OAuth & OpenID Connect Single Sign-On plugin. Implementing Keycloak SSO allows users to log into your websites and applications with a single set of credentials using the enterprise-level Keycloak OAuth provider.
Keycloak acts as the OAuth Provider and WordPress acts as the OAuth Client. WordPress Keycloak Authentication provides smooth login between these two, removing the need to remember usernames and passwords.
The Keycloak OAuth WordPress plugin also provides advanced SSO features like user profile attribute mapping, role mapping, multi-tenant login, and granting site access based on an organization's email domains. You can also protect your complete WordPress site behind SSO. Keycloak WordPress OAuth SSO plugin secures the user’s login process and improves user authentication authority. Follow the steps in the guide below to install this plugin.
For the Keycloak Version 16 and below |
Go to the Root Directory of keycloak bin standalone.sh |
For the Keycloak Version 17 and above |
Go to the Root Directory of keycloak bin kc.bat and run the below commands.
|
NOTE : Disabling Temporary will make user password permanent.
Step 1.1: Steps to fetch Keycloak Groups [Premium]
Note: -- If full path is on group path will be fetched else group name will be fetched.
Step 1.2: Steps to fetch Keycloak Roles [Premium]
NOTE : Disabling Temporary will make user password permanent.
Note: -- The domain name would be the domain of the machine where your keycloak is running followed by the port number, for e.g if your keycloak is running on localhost then the domain would be http://localhost:8080.
You have successfully configured WordPress as OAuth Client for achieving user authentication with Keycloak Single Sign-On (SSO) - Keycloak OAuth login into your WordPress Site.
Note: -- The domain name would be the domain of the machine where your keycloak is running followed by the port number, for e.g if your keycloak is running on localhost then the domain would be http://localhost:8080.
You have successfully achieved WordPress Keycloak Authentication by configuring WordPress as OAuth Client to implement secure Keycloak SSO into WordPress site with Keycloak OAuth authentication and authorization solution.
Sign in settings for WordPress 5.7 and before
Sign in settings for WordPress 5.8
Sign in settings for WordPress 5.9
Please refer the below table for configuring the scope & endpoints for Keycloak Version 18 and above in the plugin.
Scope: | email profile openid |
Authorize Endpoint: | <keycloak domain>/realms/{realm-name}/protocol/openid-connect/auth |
Access Token Endpoint: | <keycloak domain>/realms/{realm-name}/protocol/openid-connect/token |
Get User Info Endpoint: | <keycloak domain>/realms/{realm-name}/protocol/openid-connect/userinfo | Custom redirect URL after logout: [optional] | https://{keycloak domain}/realms/{realm-name}/protocol/openid-connect/logout?post_logout_redirect_uri={encodedRedirectUri}&id_token_hint=##id_token## |
Please refer the below table for configuring the scope & endpoints for Keycloak Version 17 and below in the plugin.
Scope: | email profile openid |
Authorize Endpoint: | <keycloak domain>/auth/realms/{realm-name}/protocol/openid-connect/auth |
Access Token Endpoint: | <keycloak domain>/auth/realms/{realm-name}/protocol/openid-connect/token |
Get User Info Endpoint: | <keycloak domain>/auth/realms/{realm-name}/protocol/openid-connect/userinfo | Custom redirect URL after logout: [optional] | <keycloak domain>/auth/realms/{realm-name}/protocol/openid-connect/logout?redirect_uri=encodedRedirectUri |
Keycloak Single Sign-On (SSO) should now be successfully configured with Keycloak as the OAuth Provider and WordPress as the OAuth Client. Keycloak SSO should fulfill all your needs with features like attribute mapping, role mapping, support for various OAuth grant types, etc.
Login to the Keycloak administration console. Go to the Realm settings -> general section, and you will get the Realm name. Read more
Mail us on oauthsupport@xecurify.com for quick guidance(via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.
Need Help? We are right here!
Thanks for your inquiry.
If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com
This privacy statement applies to miniorange websites describing how we handle the personal information. When you visit any website, it may store or retrieve the information on your browser, mostly in the form of the cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not directly identify you, but it can give you a more personalized web experience. Click on the category headings to check how we handle the cookies. For the privacy statement of our solutions you can refer to the privacy policy.
Necessary cookies help make a website fully usable by enabling the basic functions like site navigation, logging in, filling forms, etc. The cookies used for the functionality do not store any personal identifiable information. However, some parts of the website will not work properly without the cookies.
These cookies only collect aggregated information about the traffic of the website including - visitors, sources, page clicks and views, etc. This allows us to know more about our most and least popular pages along with users' interaction on the actionable elements and hence letting us improve the performance of our website as well as our services.