Skip to content

Research Keycloak social login #711

Open

Description

@JuanPTM

Research how other Keycloak users handle social login attemps from users that are not members of the github organization e.g

Activity

  1. added
    IAM
    on Aug 19, 2024
  2. self-assigned this
    on Aug 19, 2024
  3. JuanPTM commented on Aug 19, 2024

    @JuanPTM
    Author

    ISSUE: When a social login is configured ANY user that has an account on that site, can log in into Keycloak and then into Horizon/openstack.

    After researching what other users there is no "native" way to solve the issue, but there are several approaches.

    App control: Users has to be provisioned and the app has to allow/decline the login.

    Authenticator: Create a java authenticator for Keycloak that let you filter for users from the federation. p2-inc/keycloak-orgs#228

    Whitelist: Another approach like the previous one but that let only login users from a whitelist. Pretty basic solution that should be off of scope in our case. https://github.com/softwarefactory-project/keycloak-filter-provider-users

    Keycloak-plugin: Same author as our current home-idp-discovery. There is a plugin that only allow certains users the access to a specific Keycloak client. This is used to filters users. Can be done with roles or policies on keycloak.

    Keycloak organizations: Keycloak 25, I haven't research too much into it yet. keycloak/keycloak#28273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

IAM

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions