Dontopedia

realm

From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-10.)

realm has 91 facts recorded in Dontopedia across 29 references, with 9 live disagreements.

91 facts·40 predicates·29 sources·9 in dispute

Mostly:rdf:type(26), has value(5), value(3)

Maturity scale raw canonical shape-checked rule-derived certified

Full NamefullName

  • keycloak.realm[17]sourceall time · E103b740 0af6 4f56 8ac3 26c98435adf6

Rdf:typein disputerdf:type

Inbound mentions (44)

Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.

containsContains(3)

referencesVariableReferences Variable(3)

hasComponentHas Component(2)

managesManages(2)

requiresRequires(2)

belongsToBelongs to(1)

calledWithCalled With(1)

configuresConfigures(1)

consistsOfConsists of(1)

containsReferenceContains Reference(1)

createsCreates(1)

definesDefines(1)

definesVariableDefines Variable(1)

dependsOnDepends on(1)

derivedFromDerived From(1)

globalGlobal(1)

hasAttributeHas Attribute(1)

hasParameterHas Parameter(1)

hasRealmNameHas Realm Name(1)

hasValueHas Value(1)

inverseContainsInverse Contains(1)

isDefinedInIs Defined in(1)

isPrimateOfIs Primate of(1)

isSetToIs Set to(1)

isUnleashedOnRealmIs Unleashed on Realm(1)

locatedInLocated in(1)

mentionsMentions(1)

modifiesModifies(1)

realm_nameRealm Name(1)

requiresConfigurationOfRequires Configuration of(1)

secondPlaceSecond Place(1)

takesParameterTakes Parameter(1)

targetTarget(1)

usesUses(1)

usesVariableUses Variable(1)

usesVariableReferenceUses Variable Reference(1)

valueValue(1)

Other facts (53)

The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.

53 facts
PredicateValueRef
Has Valuemy-realm[9]
Has Valuemy-realm[10]
Has Valuemy-realm[12]
Has Valuemy-realm[13]
Has Valuemy-realm[14]
Valuemy-realm[3]
Valuemy-realm[7]
Valuemy-realm[11]
ContainsSensitive Score Access[19]
ContainsClient[20]
ContainsRole[20]
Used inkeycloak_config[5]
Used inKeycloak Config[6]
Default Valuemy-realm[6]
Default Valuemyrealm[17]
Assigned Valuemy-realm[15]
Assigned ValueKeycloak Admin[29]
Created inKeycloak[16]
Created inKeycloak[21]
Has NameMyrealm[16]
Has Namemy-realm[24]
Property FormatApplication Properties[17]
Property FormatApplication Yml[17]
Has SectionRoles Section[22]
Has SectionUsers Section[22]
Is DigitalDigital Realm[1]
Is Initialized byOs Getenv[4]
Has Environment Variable NameREALM[4]
Has Default Valuemy-realm[4]
Depends onOs.getenv[5]
Variable NameREALM[6]
Has ConfigurationRealm Configuration[8]
Needs VerificationRealm Configuration[8]
Is Used AsRealm Name[12]
Accessed ViaRealm Dropdown Menu[16]
RequiresName[16]
Has IdentifierRealm Name[16]
Namedmyrealm[18]
Has Realm Namemy-realm[19]
Is Configured byKeycloak Admin Init[19]
Is Managed byKeycloak Admin Object[19]
Is Modified byCreate Role Code[19]
Example Namemy-realm[20]
Has PurposeRole Definition[22]
Is Part ofKeycloak[25]
Created forApplication[25]
Is Obtained FromKeycloak Admin[26]
Is Attribute ofKeycloak Admin[26]
Is Assigned ValueKeycloak Admin[27]
Is of Attributerealm_name[27]
Obtained FromKeycloak Admin[27]
Is Attribute AccessRealm Name[27]
Used byKeycloak Admin[28]

Timeline

Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.

isDigitalblah/safiersemantics/part-29
ex:digital-realm
typebeam/3322a330-15f4-4948-9bb7-c8f18f1e3338
ex:ConfigurationEntity
labelbeam/3322a330-15f4-4948-9bb7-c8f18f1e3338
realm
typebeam/482890bd-5282-48a3-951c-f66e726fc814
ex:ConfigurationParameter
valuebeam/482890bd-5282-48a3-951c-f66e726fc814
my-realm
typebeam/8abe3fc2-edf2-415c-849f-4e3d26b7506a
ex:Variable
labelbeam/8abe3fc2-edf2-415c-849f-4e3d26b7506a
realm
isInitializedBybeam/8abe3fc2-edf2-415c-849f-4e3d26b7506a
ex:os-getenv
hasEnvironmentVariableNamebeam/8abe3fc2-edf2-415c-849f-4e3d26b7506a
REALM
hasDefaultValuebeam/8abe3fc2-edf2-415c-849f-4e3d26b7506a
my-realm
typebeam/a3720fa9-f3d9-4f86-beb8-14ca04da1cdd
ex:StringVariable
usedInbeam/a3720fa9-f3d9-4f86-beb8-14ca04da1cdd
keycloak_config
dependsOnbeam/a3720fa9-f3d9-4f86-beb8-14ca04da1cdd
ex:os.getenv
typebeam/99aa6614-bffa-4644-bea0-4b8be95f382b
ex:EnvironmentVariable
variableNamebeam/99aa6614-bffa-4644-bea0-4b8be95f382b
REALM
defaultValuebeam/99aa6614-bffa-4644-bea0-4b8be95f382b
my-realm
labelbeam/99aa6614-bffa-4644-bea0-4b8be95f382b
Realm
usedInbeam/99aa6614-bffa-4644-bea0-4b8be95f382b
ex:keycloak-config
typebeam/1538b5c9-04a8-4dc7-a4f7-fdfeabc5534e
ex:String
valuebeam/1538b5c9-04a8-4dc7-a4f7-fdfeabc5534e
my-realm
typebeam/4787b761-49c8-4bdf-be06-98141436d6d2
ex:RealmEntity
labelbeam/4787b761-49c8-4bdf-be06-98141436d6d2
realm
hasConfigurationbeam/4787b761-49c8-4bdf-be06-98141436d6d2
ex:realm-configuration
needsVerificationbeam/4787b761-49c8-4bdf-be06-98141436d6d2
ex:realm-configuration
hasValuebeam/b3d71acf-5739-4ad2-bb29-d03a73713b6a
my-realm
typebeam/b3d71acf-5739-4ad2-bb29-d03a73713b6a
ex:ConfigurationVariable
labelbeam/b3d71acf-5739-4ad2-bb29-d03a73713b6a
Authentication Realm
typebeam/23f5307f-fddc-4b16-ba1e-ac3252d8cedf
ex:Realm
hasValuebeam/23f5307f-fddc-4b16-ba1e-ac3252d8cedf
my-realm
typebeam/5a2877d5-5a20-477e-902b-cd46d9856195
ex:StringVariable
valuebeam/5a2877d5-5a20-477e-902b-cd46d9856195
my-realm
hasValuebeam/77097d4b-8386-4555-a900-c9860c7e7986
my-realm
isUsedAsbeam/77097d4b-8386-4555-a900-c9860c7e7986
ex:realm_name
typebeam/8fb51223-e490-4300-a866-25c8a0e0f061
ex:StringVariable
labelbeam/8fb51223-e490-4300-a866-25c8a0e0f061
realm
hasValuebeam/8fb51223-e490-4300-a866-25c8a0e0f061
my-realm
hasValuebeam/0e3dc048-2cb7-4979-950c-28087f775132
my-realm
assignedValuebeam/9e113329-cff3-47cb-acc0-62f51d259a5e
my-realm
typebeam/9e113329-cff3-47cb-acc0-62f51d259a5e
ex:StringVariable
createdInbeam/6b87a701-26ae-469b-bb58-fce166a85ea7
ex:keycloak
accessedViabeam/6b87a701-26ae-469b-bb58-fce166a85ea7
ex:realm-dropdown-menu
hasNamebeam/6b87a701-26ae-469b-bb58-fce166a85ea7
ex:myrealm
requiresbeam/6b87a701-26ae-469b-bb58-fce166a85ea7
ex:name
typebeam/6b87a701-26ae-469b-bb58-fce166a85ea7
ex:SecurityRealm
labelbeam/6b87a701-26ae-469b-bb58-fce166a85ea7
Realm
hasIdentifierbeam/6b87a701-26ae-469b-bb58-fce166a85ea7
ex:realm-name
typebeam/e103b740-0af6-4f56-8ac3-26c98435adf6
ex:KeycloakProperty
labelbeam/e103b740-0af6-4f56-8ac3-26c98435adf6
realm
fullNamebeam/e103b740-0af6-4f56-8ac3-26c98435adf6
keycloak.realm
propertyFormatbeam/e103b740-0af6-4f56-8ac3-26c98435adf6
ex:application-properties
propertyFormatbeam/e103b740-0af6-4f56-8ac3-26c98435adf6
ex:application-yml
defaultValuebeam/e103b740-0af6-4f56-8ac3-26c98435adf6
myrealm
typebeam/1ef3103f-cf37-4d2f-8d54-afb387e43f9e
ex:KeycloakEntity
namedbeam/1ef3103f-cf37-4d2f-8d54-afb387e43f9e
myrealm
typebeam/efeb6980-16eb-4364-aa8d-3fdd283f4bf2
ex:KeycloakRealm
labelbeam/efeb6980-16eb-4364-aa8d-3fdd283f4bf2
my-realm Realm
hasRealmNamebeam/efeb6980-16eb-4364-aa8d-3fdd283f4bf2
my-realm
isConfiguredBybeam/efeb6980-16eb-4364-aa8d-3fdd283f4bf2
ex:keycloak-admin-init
isManagedBybeam/efeb6980-16eb-4364-aa8d-3fdd283f4bf2
ex:keycloak-admin-object
isModifiedBybeam/efeb6980-16eb-4364-aa8d-3fdd283f4bf2
ex:create-role-code
containsbeam/efeb6980-16eb-4364-aa8d-3fdd283f4bf2
ex:sensitive-score-access
typebeam/77666c4f-5f2f-4961-b5f4-7cf14657fca8
ex:KeycloakContainer
exampleNamebeam/77666c4f-5f2f-4961-b5f4-7cf14657fca8
my-realm
containsbeam/77666c4f-5f2f-4961-b5f4-7cf14657fca8
ex:client
containsbeam/77666c4f-5f2f-4961-b5f4-7cf14657fca8
ex:role
createdInbeam/6b11df42-1cf7-4cc6-8c28-8ffaf7a5f5b6
ex:keycloak
typebeam/6b11df42-1cf7-4cc6-8c28-8ffaf7a5f5b6
ex:KeycloakContainer
typebeam/34466764-09a7-442f-ba1b-5f89ff18439d
ex:KeycloakRealm
hasSectionbeam/34466764-09a7-442f-ba1b-5f89ff18439d
ex:roles-section
hasSectionbeam/34466764-09a7-442f-ba1b-5f89ff18439d
ex:users-section
hasPurposebeam/34466764-09a7-442f-ba1b-5f89ff18439d
ex:role-definition
typebeam/86abba02-beaa-44c5-876c-b8b056fb9252
ex:KeycloakRealm
typebeam/30ca3eb4-c9f5-4870-b266-9a6ead42877b
ex:KeycloakRealm
hasNamebeam/30ca3eb4-c9f5-4870-b266-9a6ead42877b
my-realm
typebeam/15a0fbdb-a1f6-431b-9f94-484313230c42
ex:KeycloakEntity
isPartOfbeam/15a0fbdb-a1f6-431b-9f94-484313230c42
ex:keycloak
createdForbeam/15a0fbdb-a1f6-431b-9f94-484313230c42
ex:application
typebeam/c5fc740c-9e4a-4d28-b4a1-a8b721b19995
ex:KeycloakRealm
labelbeam/c5fc740c-9e4a-4d28-b4a1-a8b721b19995
Realm
isObtainedFrombeam/c5fc740c-9e4a-4d28-b4a1-a8b721b19995
ex:keycloak-admin
isAttributeOfbeam/c5fc740c-9e4a-4d28-b4a1-a8b721b19995
ex:keycloak-admin
isAssignedValuebeam/2da390ae-88d2-493a-a9bc-49dcaa32f7c1
ex:keycloak_admin
isOfAttributebeam/2da390ae-88d2-493a-a9bc-49dcaa32f7c1
realm_name
typebeam/2da390ae-88d2-493a-a9bc-49dcaa32f7c1
ex:KeycloakRealm
obtainedFrombeam/2da390ae-88d2-493a-a9bc-49dcaa32f7c1
ex:keycloak_admin
isAttributeAccessbeam/2da390ae-88d2-493a-a9bc-49dcaa32f7c1
ex:realm_name
typebeam/e2fdff7e-911f-44dd-950f-440f0dafe12f
ex:AuthenticationDomain
usedBybeam/e2fdff7e-911f-44dd-950f-440f0dafe12f
ex:KeycloakAdmin
typebeam/bdd8566d-5cef-46a6-97f1-f27f14b189f8
ex:StringVariable
assignedValuebeam/bdd8566d-5cef-46a6-97f1-f27f14b189f8
ex:keycloak-admin
labelbeam/bdd8566d-5cef-46a6-97f1-f27f14b189f8
Realm Variable

References (29)

29 references
  1. [1]Part 291 fact
    ctx:discord/blah/safiersemantics/part-29
  2. ctx:claims/beam/3322a330-15f4-4948-9bb7-c8f18f1e3338
    • full textbeam-chunk
      text/plain1002 Bdoc:beam/3322a330-15f4-4948-9bb7-c8f18f1e3338
      Show excerpt
      realm["onlineSessionMaxLifespan"] = 43200 # Online Session Max Lifespan (seconds) # Update realm settings keycloak_admin.update_realm(realm=realm) # Enable caching keycloak_admin.set_caches( realm_name="example-realm", user_cache
  3. ctx:claims/beam/482890bd-5282-48a3-951c-f66e726fc814
    • full textbeam-chunk
      text/plain1 KBdoc:beam/482890bd-5282-48a3-951c-f66e726fc814
      Show excerpt
      [Turn 5452] User: I'm trying to implement auth integration for 2,000 daily active users and I've completed 40% of it, but I'm having some issues with the security side of things - can you help me review my code and suggest some improvements
  4. ctx:claims/beam/8abe3fc2-edf2-415c-849f-4e3d26b7506a
  5. ctx:claims/beam/a3720fa9-f3d9-4f86-beb8-14ca04da1cdd
    • full textbeam-chunk
      text/plain1 KBdoc:beam/a3720fa9-f3d9-4f86-beb8-14ca04da1cdd
      Show excerpt
      es_client = Elasticsearch([{'host': 'localhost', 'port': 9200}]) def log_message(level, message, extra=None): log_entry = { 'timestamp': datetime.now().isoformat(), 'level': level, 'message': message, **
  6. ctx:claims/beam/99aa6614-bffa-4644-bea0-4b8be95f382b
    • full textbeam-chunk
      text/plain1 KBdoc:beam/99aa6614-bffa-4644-bea0-4b8be95f382b
      Show excerpt
      formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') file_handler.setFormatter(formatter) logger.addHandler(file_handler) es_client = Elasticsearch([{'host': 'localhost', 'port': 9200}]) def log_message(l
  7. ctx:claims/beam/1538b5c9-04a8-4dc7-a4f7-fdfeabc5534e
    • full textbeam-chunk
      text/plain1 KBdoc:beam/1538b5c9-04a8-4dc7-a4f7-fdfeabc5534e
      Show excerpt
      from logging.handlers import RotatingFileHandler # Set up logging logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) file_handler = RotatingFileHandler('auth_logs.log', maxBytes=1000000, backupCount=5) file_handler.setLev
  8. ctx:claims/beam/4787b761-49c8-4bdf-be06-98141436d6d2
    • full textbeam-chunk
      text/plain1 KBdoc:beam/4787b761-49c8-4bdf-be06-98141436d6d2
      Show excerpt
      ### Example Keycloak Console Verification 1. **Navigate to Clients**: Go to the Keycloak admin console and navigate to the `Clients` section. 2. **Select Your Client**: Find the client with the `client_id` you are using. 3. **Check Creden
  9. ctx:claims/beam/b3d71acf-5739-4ad2-bb29-d03a73713b6a
    • full textbeam-chunk
      text/plain1 KBdoc:beam/b3d71acf-5739-4ad2-bb29-d03a73713b6a
      Show excerpt
      keycloak_url = "https://my-keycloak-instance.com" realm = "my-realm" client_id = "my-client-id" client_secret = "my-client-secret" # Configure Keycloak keycloak_config = { "server_url": keycloak_url, "realm_name": realm, "clien
  10. ctx:claims/beam/23f5307f-fddc-4b16-ba1e-ac3252d8cedf
    • full textbeam-chunk
      text/plain1 KBdoc:beam/23f5307f-fddc-4b16-ba1e-ac3252d8cedf
      Show excerpt
      import logging from logging.handlers import RotatingFileHandler # Set up logging logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) file_handler = RotatingFileHandler('auth_logs.log', maxBytes=1000000, b
  11. ctx:claims/beam/5a2877d5-5a20-477e-902b-cd46d9856195
  12. ctx:claims/beam/77097d4b-8386-4555-a900-c9860c7e7986
    • full textbeam-chunk
      text/plain1 KBdoc:beam/77097d4b-8386-4555-a900-c9860c7e7986
      Show excerpt
      import keycloak import asyncio from aiocache import caches, SimpleMemoryCache from aiocache.serializers import PickleSerializer from ratelimiter import RateLimiter # Initialize Keycloak keycloak_url = "https://my-keycloak-instance.com" rea
  13. ctx:claims/beam/8fb51223-e490-4300-a866-25c8a0e0f061
    • full textbeam-chunk
      text/plain1 KBdoc:beam/8fb51223-e490-4300-a866-25c8a0e0f061
      Show excerpt
      await caches.set(f"token_{username}", token, ttl=3600) # Cache for 1 hour return token except keycloak.exceptions.KeycloakError as e: # Handle authentication errors print(f"Authentication error: {e}")
  14. ctx:claims/beam/0e3dc048-2cb7-4979-950c-28087f775132
    • full textbeam-chunk
      text/plain1 KBdoc:beam/0e3dc048-2cb7-4979-950c-28087f775132
      Show excerpt
      realm = "my-realm" client_id = "my-client-id" client_secret = "my-client-secret" # Configure Keycloak keycloak_config = { "auth_url": keycloak_url, "realm": realm, "client_id": client_id, "client_secret": client_secret } #
  15. ctx:claims/beam/9e113329-cff3-47cb-acc0-62f51d259a5e
    • full textbeam-chunk
      text/plain1 KBdoc:beam/9e113329-cff3-47cb-acc0-62f51d259a5e
      Show excerpt
      from ratelimiter import RateLimiter import logging # Set up logging logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) # Initialize Keycloak keycloak_url = "https://my-keycloak-instance.com" realm = "my-realm" cl
  16. ctx:claims/beam/6b87a701-26ae-469b-bb58-fce166a85ea7
    • full textbeam-chunk
      text/plain1 KBdoc:beam/6b87a701-26ae-469b-bb58-fce166a85ea7
      Show excerpt
      [Turn 5525] Assistant: Setting up a custom authentication flow in Keycloak can greatly enhance the security and flexibility of your application. Below are the steps to configure a custom authentication flow in Keycloak and integrate it with
  17. ctx:claims/beam/e103b740-0af6-4f56-8ac3-26c98435adf6
    • full textbeam-chunk
      text/plain1 KBdoc:beam/e103b740-0af6-4f56-8ac3-26c98435adf6
      Show excerpt
      - Configure Keycloak in your `application.properties` or `application.yml` file. For `application.properties`: ```properties keycloak.auth-server-url=http://localhost:8080/auth keycloak.realm=myrealm keycloak.resource=myc
  18. ctx:claims/beam/1ef3103f-cf37-4d2f-8d54-afb387e43f9e
    • full textbeam-chunk
      text/plain1 KBdoc:beam/1ef3103f-cf37-4d2f-8d54-afb387e43f9e
      Show excerpt
      Ensure that Keycloak is properly configured with the necessary realms, clients, and roles. You'll need to define roles that correspond to different levels of access to your vector data. ### Step 2: Implement Authentication and Authorizatio
  19. ctx:claims/beam/efeb6980-16eb-4364-aa8d-3fdd283f4bf2
    • full textbeam-chunk
      text/plain1 KBdoc:beam/efeb6980-16eb-4364-aa8d-3fdd283f4bf2
      Show excerpt
      # Assign the role to a user user = keycloak_admin.get_user("user-id") keycloak_admin.assign_role(user, role) # Restrict access to sensitive scores # ??? How do I do this ??? ``` ->-> 3,7 [Turn 6441] Assistant: To enforce role-based access
  20. ctx:claims/beam/77666c4f-5f2f-4961-b5f4-7cf14657fca8
    • full textbeam-chunk
      text/plain1 KBdoc:beam/77666c4f-5f2f-4961-b5f4-7cf14657fca8
      Show excerpt
      - Create a new realm for your application (e.g., `my-realm`). 2. **Create Clients**: - Under the newly created realm, go to the "Clients" section. - Add a new client for your FastAPI application (e.g., `fastapi-client`). - Set
  21. ctx:claims/beam/6b11df42-1cf7-4cc6-8c28-8ffaf7a5f5b6
    • full textbeam-chunk
      text/plain1 KBdoc:beam/6b11df42-1cf7-4cc6-8c28-8ffaf7a5f5b6
      Show excerpt
      - **Load Testing**: Use tools like `wrk` or `locust` to perform load testing and ensure the endpoint can handle the required throughput. - **Monitoring**: Use tools like Prometheus and Grafana to monitor the endpoint's performance and healt
  22. ctx:claims/beam/34466764-09a7-442f-ba1b-5f89ff18439d
    • full textbeam-chunk
      text/plain1 KBdoc:beam/34466764-09a7-442f-ba1b-5f89ff18439d
      Show excerpt
      [Turn 8967] Assistant: Certainly! Let's review your current configuration and suggest improvements to ensure that roles are properly defined and assigned to users in Keycloak. ### Current Configuration Review Your current configuration de
  23. ctx:claims/beam/86abba02-beaa-44c5-876c-b8b056fb9252
    • full textbeam-chunk
      text/plain1 KBdoc:beam/86abba02-beaa-44c5-876c-b8b056fb9252
      Show excerpt
      from keycloak import KeycloakAdmin # Initialize Keycloak admin client keycloak_admin = KeycloakAdmin(server_url="https://my-keycloak-server.com", username="admin", password="pas
  24. ctx:claims/beam/30ca3eb4-c9f5-4870-b266-9a6ead42877b
    • full textbeam-chunk
      text/plain1 KBdoc:beam/30ca3eb4-c9f5-4870-b266-9a6ead42877b
      Show excerpt
      ### 1. Role Definition and Assignment Ensure that you have defined and assigned roles correctly in Keycloak: ```python from keycloak import KeycloakAdmin # Initialize Keycloak admin client keycloak_admin = KeycloakAdmin(server_url="https
  25. ctx:claims/beam/15a0fbdb-a1f6-431b-9f94-484313230c42
  26. ctx:claims/beam/c5fc740c-9e4a-4d28-b4a1-a8b721b19995
    • full textbeam-chunk
      text/plain1 KBdoc:beam/c5fc740c-9e4a-4d28-b4a1-a8b721b19995
      Show excerpt
      server_url="https://my-keycloak-server.com", username="admin", password="password", realm_name="my-realm" ) # Get the realm realm = keycloak_admin.realm_name # Assign a role to a user def assign_role(user_id, role_name):
  27. ctx:claims/beam/2da390ae-88d2-493a-a9bc-49dcaa32f7c1
    • full textbeam-chunk
      text/plain1 KBdoc:beam/2da390ae-88d2-493a-a9bc-49dcaa32f7c1
      Show excerpt
      Here's how you can implement the `assign_role` function: ```python from keycloak import KeycloakAdmin # Initialize Keycloak admin keycloak_admin = KeycloakAdmin( server_url="https://my-keycloak-server.com", username="admin", p
  28. ctx:claims/beam/e2fdff7e-911f-44dd-950f-440f0dafe12f
    • full textbeam-chunk
      text/plain1 KBdoc:beam/e2fdff7e-911f-44dd-950f-440f0dafe12f
      Show excerpt
      role_name = "expanded-data-access" client_id = "account" # Replace with the actual client ID assign_role(user_id, role_name, client_id) ``` ### Explanation 1. **Initialize Keycloak Admin**: - Initialize the Keycloak admin client with
  29. ctx:claims/beam/bdd8566d-5cef-46a6-97f1-f27f14b189f8
    • full textbeam-chunk
      text/plain1 KBdoc:beam/bdd8566d-5cef-46a6-97f1-f27f14b189f8
      Show excerpt
      # Get the realm realm = keycloak_admin.realm_name # Assign a role to a user def assign_role(user_id, role_name, client_id): try: # Get the user user = keycloak_admin.get_user(user_id) if not user: ra

See also

Keep researching

Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.