+
Skip to content

Selecting a federation using federationLink when creating a user #40519

@VojtechRiedl

Description

@VojtechRiedl

Description

Title:
Ability to specify federation via federationLink when creating users in Keycloak

Description:
Currently, when creating a new user in Keycloak, it is not possible to explicitly specify which federation (user storage provider) the user should be assigned to. The current behavior is that if multiple federations are enabled, Keycloak automatically selects the first (i.e., the first active provider in the list).

Request:

  • Add the ability to directly specify the federationLink value (or explicitly select the storage provider) when creating a user, either via Admin REST API or UI.

  • If the federationLink is provided, Keycloak should assign the user directly to the specified provider.

  • If the federationLink is not provided, the current default behavior should remain unchanged.

Discussion

No response

Motivation

This feature would provide better control and flexibility in managing users in Keycloak. In scenarios where multiple user storage providers are configured, administrators or automated provisioning systems would be able to directly specify which storage provider the user should be assigned to during user creation, instead of relying on the default selection logic.

Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载