Giter Club home page Giter Club logo

Comments (5)

3C111 avatar 3C111 commented on September 25, 2024

So how is this supposed to work? Someone creates an account in RengKu/Renga and gets automatically registered in Keycloak but not in Gitlab?
Making a user manually in Gitlab (not via RengKu) that already exists in Keycloak does not work.

from renku-gateway.

ableuler avatar ableuler commented on September 25, 2024

Yes, pretty much. Creating an account in Renga is equivalent to creating an account in Keycloak. Now when someone logs into GitLab by clicking the Renga Login button and entering her Renga credentials for the first time, the user info is taken from Keycloak and a new GitLab user is created from this. We don't want the user to see the GitLab login page anymore, so we need to create the corresponding GitLab user through the API.

from renku-gateway.

3C111 avatar 3C111 commented on September 25, 2024

Did you try this? This morning we tested this, making a user in Keycloak and then in Gitlab. This creates an error.

from renku-gateway.

ableuler avatar ableuler commented on September 25, 2024

I have just tried it, yes. I've registered as a new user in keycloak and then added this user as a new user to GitLab through the API. What didn't work (and I think that's what you were referring to) is using this user then to log into the GitLab page. Not sure if we care...?

from renku-gateway.

ableuler avatar ableuler commented on September 25, 2024

Actually, one can add the external identity provider during user creation. I've used the following post data to create the user:

{
	"username": "demo",
	"email": "[email protected]",
	"name": "John Doe",
	"extern_uid": "demo", 
	"provider": "oauth2_generic",
	"skip_confirmation": true,
	"reset_password": true
}

from renku-gateway.

Related Issues (20)

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.