Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-8773

SerializedBrokeredIdentityContext ProviderID is filled with IdP alias

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Rejected
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      In SerializedBrokeredIdentityContext#serialize, the identityProviderId property is filled with the alias of the IdentityProviderModel, instead of (what I would expect) its providerId. This behaviour seems semantically incorrect.

      Relevant line:
      https://github.com/keycloak/keycloak/blob/b478472b3578b8980d7b5f1642e91e75d1e78d16/services/src/main/java/org/keycloak/authentication/authenticators/broker/util/SerializedBrokeredIdentityContext.java#L300

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            chris.brandhorst Chris Brandhorst
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: