|
96 | 96 | "clientRole" : false, |
97 | 97 | "containerId" : "test", |
98 | 98 | "attributes" : { } |
| 99 | + }, { |
| 100 | + "id" : "70200494-09ed-425c-bee5-ba8730612f8b", |
| 101 | + "name" : "test-var-expansion", |
| 102 | + "description" : "", |
| 103 | + "composite" : false, |
| 104 | + "clientRole" : false, |
| 105 | + "containerId" : "test", |
| 106 | + "attributes" : { } |
99 | 107 | }, { |
100 | 108 | "id" : "af1bc955-6d4d-42e9-b0d4-343e7eb075d0", |
101 | 109 | "name" : "rabbitmq-role", |
|
502 | 510 | } ], |
503 | 511 | "disableableCredentialTypes" : [ ], |
504 | 512 | "requiredActions" : [ ], |
505 | | - "realmRoles" : [ "rabbitmq.tag:administrator", "default-roles-test" ], |
| 513 | + "realmRoles" : [ "rabbitmq.tag:administrator", "test-var-expansion", "default-roles-test" ], |
506 | 514 | "notBefore" : 0, |
507 | 515 | "groups" : [ ] |
508 | 516 | }, { |
|
643 | 651 | }, { |
644 | 652 | "clientScope" : "rabbitmq.tag:management", |
645 | 653 | "roles" : [ "rabbitmq.tag:management" ] |
| 654 | + }, { |
| 655 | + "clientScope" : "rabbitmq.configure:*/q-{user_name}", |
| 656 | + "roles" : [ "test-var-expansion" ] |
646 | 657 | } ], |
647 | 658 | "clientScopeMappings" : { |
648 | 659 | "account" : [ { |
|
1612 | 1623 | "jsonType.label" : "String" |
1613 | 1624 | } |
1614 | 1625 | } ], |
1615 | | - "defaultClientScopes" : [ "web-origins", "acr", "rabbitmq.tag:administrator", "profile", "roles", "rabbitmq.tag:management", "email" ], |
| 1626 | + "defaultClientScopes" : [ "web-origins", "rabbitmq.configure:*/q-{user_name}", "acr", "rabbitmq.tag:administrator", "profile", "roles", "rabbitmq.tag:management", "email" ], |
1616 | 1627 | "optionalClientScopes" : [ "address", "phone", "offline_access", "microprofile-jwt" ] |
1617 | 1628 | }, { |
1618 | 1629 | "id" : "c265f3db-ed3a-4898-8800-af044b3c30f5", |
|
1773 | 1784 | "included.client.audience" : "rabbitmq-proxy-client-tls", |
1774 | 1785 | "id.token.claim" : "true", |
1775 | 1786 | "access.token.claim" : "true", |
1776 | | - "included.custom.audience" : "rabbitmq" |
| 1787 | + "included.custom.audience" : "rabbitmq", |
| 1788 | + "userinfo.token.claim" : "true" |
1777 | 1789 | } |
1778 | 1790 | } ], |
1779 | 1791 | "defaultClientScopes" : [ "rabbitmq.read:*/*", "web-origins", "acr", "rabbitmq.write:*/*", "rabbitmq.tag:administrator", "profile", "roles", "rabbitmq.tag:management", "email", "rabbitmq.configure:*/*" ], |
|
2349 | 2361 | "include.in.token.scope" : "true", |
2350 | 2362 | "display.on.consent.screen" : "true" |
2351 | 2363 | } |
| 2364 | + }, { |
| 2365 | + "id" : "f2495e2f-2d9a-44e2-b8da-a46b464f9534", |
| 2366 | + "name" : "rabbitmq.configure:*/q-{user_name}", |
| 2367 | + "description" : "", |
| 2368 | + "protocol" : "openid-connect", |
| 2369 | + "attributes" : { |
| 2370 | + "include.in.token.scope" : "true", |
| 2371 | + "display.on.consent.screen" : "true", |
| 2372 | + "gui.order" : "", |
| 2373 | + "consent.screen.text" : "" |
| 2374 | + } |
2352 | 2375 | } ], |
2353 | | - "defaultDefaultClientScopes" : [ "role_list", "profile", "email", "roles", "web-origins", "acr" ], |
| 2376 | + "defaultDefaultClientScopes" : [ "role_list", "profile", "email", "roles", "web-origins", "acr", "rabbitmq.configure:*/q-{user_name}" ], |
2354 | 2377 | "defaultOptionalClientScopes" : [ "offline_access", "address", "phone", "microprofile-jwt" ], |
2355 | 2378 | "browserSecurityHeaders" : { |
2356 | 2379 | "contentSecurityPolicyReportOnly" : "", |
|
2402 | 2425 | "subType" : "authenticated", |
2403 | 2426 | "subComponents" : { }, |
2404 | 2427 | "config" : { |
2405 | | - "allowed-protocol-mapper-types" : [ "saml-user-attribute-mapper", "oidc-full-name-mapper", "oidc-usermodel-attribute-mapper", "oidc-address-mapper", "saml-role-list-mapper", "oidc-usermodel-property-mapper", "oidc-sha256-pairwise-sub-mapper", "saml-user-property-mapper" ] |
| 2428 | + "allowed-protocol-mapper-types" : [ "oidc-address-mapper", "saml-user-attribute-mapper", "oidc-usermodel-property-mapper", "oidc-sha256-pairwise-sub-mapper", "saml-user-property-mapper", "saml-role-list-mapper", "oidc-usermodel-attribute-mapper", "oidc-full-name-mapper" ] |
2406 | 2429 | } |
2407 | 2430 | }, { |
2408 | 2431 | "id" : "693f0625-c453-40c0-b38e-80b7b7deaefa", |
|
2427 | 2450 | "subType" : "anonymous", |
2428 | 2451 | "subComponents" : { }, |
2429 | 2452 | "config" : { |
2430 | | - "allowed-protocol-mapper-types" : [ "oidc-usermodel-attribute-mapper", "saml-role-list-mapper", "oidc-usermodel-property-mapper", "oidc-full-name-mapper", "oidc-sha256-pairwise-sub-mapper", "saml-user-property-mapper", "oidc-address-mapper", "saml-user-attribute-mapper" ] |
| 2453 | + "allowed-protocol-mapper-types" : [ "oidc-full-name-mapper", "oidc-sha256-pairwise-sub-mapper", "saml-role-list-mapper", "oidc-usermodel-attribute-mapper", "oidc-address-mapper", "saml-user-property-mapper", "oidc-usermodel-property-mapper", "saml-user-attribute-mapper" ] |
2431 | 2454 | } |
2432 | 2455 | }, { |
2433 | 2456 | "id" : "bbadf932-a286-4841-be1b-ed845e2131cb", |
|
2502 | 2525 | "internationalizationEnabled" : false, |
2503 | 2526 | "supportedLocales" : [ ], |
2504 | 2527 | "authenticationFlows" : [ { |
2505 | | - "id" : "be2bb3e6-7347-4288-8e6f-80e365f327da", |
| 2528 | + "id" : "bdf050d4-f291-4fae-a62e-b598ca97e9c2", |
2506 | 2529 | "alias" : "Account verification options", |
2507 | 2530 | "description" : "Method with which to verity the existing account", |
2508 | 2531 | "providerId" : "basic-flow", |
|
2524 | 2547 | "userSetupAllowed" : false |
2525 | 2548 | } ] |
2526 | 2549 | }, { |
2527 | | - "id" : "f674fbae-3b22-4b4d-bb3a-6c4fba089bc3", |
| 2550 | + "id" : "b3e1a4e8-4298-4cbf-840f-c2e261bd591b", |
2528 | 2551 | "alias" : "Authentication Options", |
2529 | 2552 | "description" : "Authentication options.", |
2530 | 2553 | "providerId" : "basic-flow", |
|
2553 | 2576 | "userSetupAllowed" : false |
2554 | 2577 | } ] |
2555 | 2578 | }, { |
2556 | | - "id" : "d6d44af2-d504-4a75-9c1c-8671bbe04a29", |
| 2579 | + "id" : "4b376432-ad1a-4dbf-97a1-a80aee954058", |
2557 | 2580 | "alias" : "Browser - Conditional OTP", |
2558 | 2581 | "description" : "Flow to determine if the OTP is required for the authentication", |
2559 | 2582 | "providerId" : "basic-flow", |
|
2575 | 2598 | "userSetupAllowed" : false |
2576 | 2599 | } ] |
2577 | 2600 | }, { |
2578 | | - "id" : "3cb21e93-de30-4306-a208-7326d3d3f709", |
| 2601 | + "id" : "9aef4f2b-fe33-4d0a-8984-fab8ec95bdb2", |
2579 | 2602 | "alias" : "Direct Grant - Conditional OTP", |
2580 | 2603 | "description" : "Flow to determine if the OTP is required for the authentication", |
2581 | 2604 | "providerId" : "basic-flow", |
|
2597 | 2620 | "userSetupAllowed" : false |
2598 | 2621 | } ] |
2599 | 2622 | }, { |
2600 | | - "id" : "a776d57f-2fc3-4a54-9e79-681bbb8eb3c5", |
| 2623 | + "id" : "1cb1c93e-e587-4745-a8c7-95bb2d066adf", |
2601 | 2624 | "alias" : "First broker login - Conditional OTP", |
2602 | 2625 | "description" : "Flow to determine if the OTP is required for the authentication", |
2603 | 2626 | "providerId" : "basic-flow", |
|
2619 | 2642 | "userSetupAllowed" : false |
2620 | 2643 | } ] |
2621 | 2644 | }, { |
2622 | | - "id" : "98790c20-1602-4bac-adf8-13eeab9ff4e8", |
| 2645 | + "id" : "4bac0f5f-92b2-45ad-be0b-ac65a6c6cffd", |
2623 | 2646 | "alias" : "Handle Existing Account", |
2624 | 2647 | "description" : "Handle what to do if there is existing account with same email/username like authenticated identity provider", |
2625 | 2648 | "providerId" : "basic-flow", |
|
2641 | 2664 | "userSetupAllowed" : false |
2642 | 2665 | } ] |
2643 | 2666 | }, { |
2644 | | - "id" : "990ea7fd-9e81-4dc0-af94-aed81cde301a", |
| 2667 | + "id" : "64c0df59-8a6e-4235-a157-ca516be788fc", |
2645 | 2668 | "alias" : "Reset - Conditional OTP", |
2646 | 2669 | "description" : "Flow to determine if the OTP should be reset or not. Set to REQUIRED to force.", |
2647 | 2670 | "providerId" : "basic-flow", |
|
2663 | 2686 | "userSetupAllowed" : false |
2664 | 2687 | } ] |
2665 | 2688 | }, { |
2666 | | - "id" : "22291265-d0e0-4025-b47b-05ac0eb2c55f", |
| 2689 | + "id" : "fbd90ff6-7774-40d6-befd-edcfbe947f9c", |
2667 | 2690 | "alias" : "User creation or linking", |
2668 | 2691 | "description" : "Flow for the existing/non-existing user alternatives", |
2669 | 2692 | "providerId" : "basic-flow", |
|
2686 | 2709 | "userSetupAllowed" : false |
2687 | 2710 | } ] |
2688 | 2711 | }, { |
2689 | | - "id" : "e00ed2ea-ffa9-4968-8e13-5cf54acd7c7b", |
| 2712 | + "id" : "554c9592-7549-40c2-b58b-d60b8bba4e4e", |
2690 | 2713 | "alias" : "Verify Existing Account by Re-authentication", |
2691 | 2714 | "description" : "Reauthentication of existing account", |
2692 | 2715 | "providerId" : "basic-flow", |
|
2708 | 2731 | "userSetupAllowed" : false |
2709 | 2732 | } ] |
2710 | 2733 | }, { |
2711 | | - "id" : "e77e6f3a-2805-4de9-9594-47f90cdce595", |
| 2734 | + "id" : "44c9e3f9-81f1-47c3-86e6-47a7cdf61496", |
2712 | 2735 | "alias" : "browser", |
2713 | 2736 | "description" : "browser based authentication", |
2714 | 2737 | "providerId" : "basic-flow", |
|
2744 | 2767 | "userSetupAllowed" : false |
2745 | 2768 | } ] |
2746 | 2769 | }, { |
2747 | | - "id" : "8e0f1d4a-2900-4e4d-9ca3-6615beb8f5e2", |
| 2770 | + "id" : "f7f65924-cd05-4290-9227-eafa6c6b03e0", |
2748 | 2771 | "alias" : "clients", |
2749 | 2772 | "description" : "Base authentication for clients", |
2750 | 2773 | "providerId" : "client-flow", |
|
2780 | 2803 | "userSetupAllowed" : false |
2781 | 2804 | } ] |
2782 | 2805 | }, { |
2783 | | - "id" : "a2a83467-001b-4901-84ae-f0860de14f87", |
| 2806 | + "id" : "6ada5ab6-f4ec-4893-b68d-41d940f59c40", |
2784 | 2807 | "alias" : "direct grant", |
2785 | 2808 | "description" : "OpenID Connect Resource Owner Grant", |
2786 | 2809 | "providerId" : "basic-flow", |
|
2809 | 2832 | "userSetupAllowed" : false |
2810 | 2833 | } ] |
2811 | 2834 | }, { |
2812 | | - "id" : "c4400c90-aa92-4457-a10e-b8367fe73613", |
| 2835 | + "id" : "bf07a663-bfa0-4f34-89a7-2fa0b64a87db", |
2813 | 2836 | "alias" : "docker auth", |
2814 | 2837 | "description" : "Used by Docker clients to authenticate against the IDP", |
2815 | 2838 | "providerId" : "basic-flow", |
|
2824 | 2847 | "userSetupAllowed" : false |
2825 | 2848 | } ] |
2826 | 2849 | }, { |
2827 | | - "id" : "c0b8513a-e649-4c38-b12a-2edfc943304c", |
| 2850 | + "id" : "88204ddd-cacd-4217-9f1d-7f8a86212d5e", |
2828 | 2851 | "alias" : "first broker login", |
2829 | 2852 | "description" : "Actions taken after first broker login with identity provider account, which is not yet linked to any Keycloak account", |
2830 | 2853 | "providerId" : "basic-flow", |
|
2847 | 2870 | "userSetupAllowed" : false |
2848 | 2871 | } ] |
2849 | 2872 | }, { |
2850 | | - "id" : "5b11a603-4c38-42e3-9e36-ba7e0747426f", |
| 2873 | + "id" : "6c40488b-1f9c-4bf5-a17e-8835a98d3b45", |
2851 | 2874 | "alias" : "forms", |
2852 | 2875 | "description" : "Username, password, otp and other auth forms.", |
2853 | 2876 | "providerId" : "basic-flow", |
|
2869 | 2892 | "userSetupAllowed" : false |
2870 | 2893 | } ] |
2871 | 2894 | }, { |
2872 | | - "id" : "31ba8ec1-4570-4a5f-9e10-2ca96c58b106", |
| 2895 | + "id" : "d1a5b9f1-79aa-4d5c-acb8-3bbbd403af49", |
2873 | 2896 | "alias" : "http challenge", |
2874 | 2897 | "description" : "An authentication flow based on challenge-response HTTP Authentication Schemes", |
2875 | 2898 | "providerId" : "basic-flow", |
|
2891 | 2914 | "userSetupAllowed" : false |
2892 | 2915 | } ] |
2893 | 2916 | }, { |
2894 | | - "id" : "d4184222-8914-483a-8900-f62152f6795e", |
| 2917 | + "id" : "aa794af8-1f60-4d11-a18c-22a5854f1348", |
2895 | 2918 | "alias" : "registration", |
2896 | 2919 | "description" : "registration flow", |
2897 | 2920 | "providerId" : "basic-flow", |
|
2907 | 2930 | "userSetupAllowed" : false |
2908 | 2931 | } ] |
2909 | 2932 | }, { |
2910 | | - "id" : "39140565-94dc-4caf-ade4-f2c6a0278f18", |
| 2933 | + "id" : "e20f9717-c513-41e7-bda1-9b69dccff4da", |
2911 | 2934 | "alias" : "registration form", |
2912 | 2935 | "description" : "registration form", |
2913 | 2936 | "providerId" : "form-flow", |
|
2943 | 2966 | "userSetupAllowed" : false |
2944 | 2967 | } ] |
2945 | 2968 | }, { |
2946 | | - "id" : "f447139b-b24d-4f8a-9010-085aa3a343b2", |
| 2969 | + "id" : "b5687c8c-4556-4408-a352-f6d555b735ec", |
2947 | 2970 | "alias" : "reset credentials", |
2948 | 2971 | "description" : "Reset credentials for a user if they forgot their password or something", |
2949 | 2972 | "providerId" : "basic-flow", |
|
2979 | 3002 | "userSetupAllowed" : false |
2980 | 3003 | } ] |
2981 | 3004 | }, { |
2982 | | - "id" : "00e0dac8-643a-42fd-b138-924a9bd61c96", |
| 3005 | + "id" : "ac887ee0-ce92-4647-adbf-1179990f6109", |
2983 | 3006 | "alias" : "saml ecp", |
2984 | 3007 | "description" : "SAML ECP Profile Authentication Flow", |
2985 | 3008 | "providerId" : "basic-flow", |
|
2995 | 3018 | } ] |
2996 | 3019 | } ], |
2997 | 3020 | "authenticatorConfig" : [ { |
2998 | | - "id" : "ff1eb3ea-3997-4e4b-a458-e74640323fb0", |
| 3021 | + "id" : "d73de415-1126-4af9-924a-f425f59a453b", |
2999 | 3022 | "alias" : "create unique user config", |
3000 | 3023 | "config" : { |
3001 | 3024 | "require.password.update.after.registration" : "false" |
3002 | 3025 | } |
3003 | 3026 | }, { |
3004 | | - "id" : "e92aaa2a-1315-40e6-a148-74a271189c45", |
| 3027 | + "id" : "194f7674-33ec-4ff9-9e7b-25b9e68cdd29", |
3005 | 3028 | "alias" : "review profile config", |
3006 | 3029 | "config" : { |
3007 | 3030 | "update.profile.on.first.login" : "missing" |
|
0 commit comments