Using Keycloak with groups storage federation (like user storage federation) The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceKeycloak Roles Synchronization Event ListenerHow to properly do delegated user self-administration with KeycloakUsing Keycloak with JHipster 4.10.0Keycloak: Authenticate user with a custom JWTBuilding a Java OAuth2.0 authorization server with KeycloakHow to get the details of the user deleted in keycloak using AdminEventShould I use keycloak or not?Keycloak User federation using existing MySQL database for users authenticationKeycloak access tokens invalid after Keycloak server restart

Relations between two reciprocal partial derivatives?

Semisimplicity of the category of coherent sheaves?

Can smartphones with the same camera sensor have different image quality?

Simulating Exploding Dice

Is there a writing software that you can sort scenes like slides in PowerPoint?

Finding the path in a graph from A to B then back to A with a minimum of shared edges

What information about me do stores get via my credit card?

What are these Gizmos at Izaña Atmospheric Research Center in Spain?

Single author papers against my advisor's will?

Python - Fishing Simulator

Road tyres vs "Street" tyres for charity ride on MTB Tandem

Can the prologue be the backstory of your main character?

Why is superheterodyning better than direct conversion?

What is this lever in Argentinian toilets?

What can I do if neighbor is blocking my solar panels intentionally?

Cooking pasta in a water boiler

How to delete random line from file using Unix command?

How to pronounce 1ターン?

Do working physicists consider Newtonian mechanics to be "falsified"?

Reference for the teaching of not-self

Working through the single responsibility principle (SRP) in Python when calls are expensive

Did the new image of black hole confirm the general theory of relativity?

Difference between "generating set" and free product?

Do warforged have souls?



Using Keycloak with groups storage federation (like user storage federation)



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
The Ask Question Wizard is Live!
Data science time! April 2019 and salary with experienceKeycloak Roles Synchronization Event ListenerHow to properly do delegated user self-administration with KeycloakUsing Keycloak with JHipster 4.10.0Keycloak: Authenticate user with a custom JWTBuilding a Java OAuth2.0 authorization server with KeycloakHow to get the details of the user deleted in keycloak using AdminEventShould I use keycloak or not?Keycloak User federation using existing MySQL database for users authenticationKeycloak access tokens invalid after Keycloak server restart



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








3















Currently we use Keycloak in our software with a custom federation plugin. This plugin fetches all users from our database and shows it within the keycloak admin itself.
This works perfectly and is document well by Keycloak here: https://www.keycloak.org/docs/4.8/server_admin/#_user-storage-federation



However what we also want be able to do is fetching groups from our database and view it in Keycloak and add additional attributes and roles on Keycloak itself. So it should hold only a reference of the group on Keycloak (actually just like federated user storage).



After going through the documentation and the code I haven't found a solution yet.



Does anybody have an idea?










share|improve this question




























    3















    Currently we use Keycloak in our software with a custom federation plugin. This plugin fetches all users from our database and shows it within the keycloak admin itself.
    This works perfectly and is document well by Keycloak here: https://www.keycloak.org/docs/4.8/server_admin/#_user-storage-federation



    However what we also want be able to do is fetching groups from our database and view it in Keycloak and add additional attributes and roles on Keycloak itself. So it should hold only a reference of the group on Keycloak (actually just like federated user storage).



    After going through the documentation and the code I haven't found a solution yet.



    Does anybody have an idea?










    share|improve this question
























      3












      3








      3








      Currently we use Keycloak in our software with a custom federation plugin. This plugin fetches all users from our database and shows it within the keycloak admin itself.
      This works perfectly and is document well by Keycloak here: https://www.keycloak.org/docs/4.8/server_admin/#_user-storage-federation



      However what we also want be able to do is fetching groups from our database and view it in Keycloak and add additional attributes and roles on Keycloak itself. So it should hold only a reference of the group on Keycloak (actually just like federated user storage).



      After going through the documentation and the code I haven't found a solution yet.



      Does anybody have an idea?










      share|improve this question














      Currently we use Keycloak in our software with a custom federation plugin. This plugin fetches all users from our database and shows it within the keycloak admin itself.
      This works perfectly and is document well by Keycloak here: https://www.keycloak.org/docs/4.8/server_admin/#_user-storage-federation



      However what we also want be able to do is fetching groups from our database and view it in Keycloak and add additional attributes and roles on Keycloak itself. So it should hold only a reference of the group on Keycloak (actually just like federated user storage).



      After going through the documentation and the code I haven't found a solution yet.



      Does anybody have an idea?







      keycloak federation






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 8 at 13:39









      hesyarhesyar

      150210




      150210






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55064403%2fusing-keycloak-with-groups-storage-federation-like-user-storage-federation%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55064403%2fusing-keycloak-with-groups-storage-federation-like-user-storage-federation%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          1928 у кіно

          Захаров Федір Захарович

          Ель Греко