Comments (12)
What is the version of your Keycloak server?
Can you check the logs in Administration -> Information -> Logging?
from auth-keycloak.
unfortunately, we can no longer track this exactly - it was a update on a live system. KC is 17.0.1 but we currently preparing update on 23.0.5
from auth-keycloak.
I see. The new module version was only tested on Keycloak 22 and 23.
Please let me know if it works after upgrading to Keycloak 23 and I will add this requirement in the module documentation.
FYI, this new version of the module uses Open ID connect protocol instead of Oauth 2.
And also it requires PHP 8.0 or later (see requirements here). You should check the version of your PHP in Administration -> Information -> Prerequisites
from auth-keycloak.
thanks - I will report here if the error occurs again after upgrading to version 23. We have already figured out the PHP version and fixed it :) good hint with OIDC!
from auth-keycloak.
I have the same problem after updating from 1.3 to 1.4.1. My version of keycloak is 23.0.3, php 8.1 and humhub 1.15.3.
from auth-keycloak.
@Fabien-inexine thanks for reporting.
Have you upgraded from GitHub (by cloning the repository) or from HumHub marketplace? If from GitHub, you need to update composer.
There must be a setting (on Keycloak or HumHub) that needs to be changed to make it work with this new version, but I cannot tell which one. I'm currently using it with success on Keycloak 23.0.3, HumHub 1.15.3 and PHP 8.2, which is similar to you.
Check also the instructions in the module settings:
If you find the solution, please share it, so I can update the documentation. Thanks!
from auth-keycloak.
I use the market place version. I switched to php 8.2 but I have the same problem. I’m on ubuntu 22.
The keycloak configuration is ok. The module configuration also normally.
from auth-keycloak.
@Fabien-inexine Can you have a look to this:
And also if you have error messages in the Console tab, or in Humhub logging?
from auth-keycloak.
I don’t have a call on authenticate/session_code
Here is the debug when I click on "connect with keycload"
I have no errors in the console and humhub loggins
from auth-keycloak.
Sorry, but I don't know what's happening.
If you need paid support, contact me on https://cuzy.app/contact
I will need:
- an admin access to your Keycloak
- or a testing client (I'll send you the settings to add)
- or the settings of your current client (you'll need to temporarily add the URL of my HumHub instance in "Valid redirect URIs")
And a screenshot of your module settings on HumHub.
This will allow me to test on my local HumHub instance and fix the issue.
from auth-keycloak.
@marc-farre , i just found it. Missing the php-bcmath module. After installing it, it works.
from auth-keycloak.
@Fabien-inexine thanks very much for your researches and your feedback.
I didn't know it was a requirement, as it's marked as highly recommended in the JWT Key Management Component library:
https://web-token.spomky-labs.com/introduction/pre-requisite
I've updated the module requirements in the last commit:
7a48f15#diff-0b5ca119d2be595aa307d34512d9679e49186307ef94201e4b3dfa079aa89938R26
And I've released a new version of the module: https://github.com/cuzy-app/humhub-modules-auth-keycloak/releases/tag/1.4.2
It should be soon available on the marketplace (it only adds these new requirements).
from auth-keycloak.
Related Issues (10)
- Admin Settings Interface HOT 6
- Changes to Realm Field HOT 7
- Force Keycloak to HumHub Sync HOT 5
- OIDC integration failure HOT 8
- OIDC Logout not working HOT 1
- Disable registration of users HOT 1
- Keycloak 19.0.2 userinfo endpoints now required openid scope in token HOT 1
- Token Claim Name - preferred_username HOT 3
- Bring back auto-login feature HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auth-keycloak.