Comments (5)
Sorry, I'm not sure I understand your problem.
You say " Directly after Registering my users dont exist in HumHub": This isn't normal. You don't need to activate API sync for that.
I don't understand "Single Source of Truth" either: what I do, is create a client on Keycloak specifically for Humhub. That way there are no interactions with others apps.
Perhaps you could add screenshots of you Keycloak settings on Humhub, you client on Keycloak and the Mapper tab of your client.
from auth-keycloak.
Hi funkycram,
no problem, i will try to do my best to explain :)
I having multiple Web Apps that are using Keycloak to authorize their users. Those are working fine right now. Now i wanted to build an community around those webapps with humhub so that those users can access humhub with their existing keycloak user accounts.
Unfortunatly HumHub tells my that the users do not exist.
Even when i click on "sign in with keycloak" this issue happens. The Use can login in Keycloak, gets an JWT Token and gets redirected to HumHub, HumHub says "no user exists". Everything works fine with my administrator account because i used the same account on Keycloak and on Install from HumHub.
I guess this has something todo with the HumHub<->Keycloak Sync. But this is only a "guess".
Over here my settings:
from auth-keycloak.
Only the first screenshot could have an impact on your problem.
But as it works with an existing account (your admin account), it means you might have specific settings on Humhub disabling account creation.
Can you create an account without Keycloak?
Could you check in Administration -> User -> Settings that "New users can register" is ticked?
If it still doesn't work, could you try, in the Keycloak settings (of the Humhub module) to untick "Automatic login"?
from auth-keycloak.
Hello,
I'm currently out of the office, I'll try your suggestions as soon as I have access again.
However, what I can say is: If I create a user in Keycloak, I cannot log in directly to HumHub. After 24 hours the whole thing works without issues.
I'll try to adjust your comments and give feedback. Thanks in advance for your time.
from auth-keycloak.
Hey there,
thanks alot. The "New users can register" was really the issue. Now it works fine.
Thanks alot :)
from auth-keycloak.
Related Issues (10)
- Admin Settings Interface HOT 6
- Changes to Realm Field HOT 7
- 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
- Error after updating HOT 12
- 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.