Giter Site home page Giter Site logo

Comments (5)

marc-farre avatar marc-farre commented on June 30, 2024

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.

MarcoGriep88 avatar MarcoGriep88 commented on June 30, 2024

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.
001

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:

002

003

from auth-keycloak.

marc-farre avatar marc-farre commented on June 30, 2024

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.

MarcoGriep88 avatar MarcoGriep88 commented on June 30, 2024

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.

MarcoGriep88 avatar MarcoGriep88 commented on June 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.