aiondemand / aiondemand/AIOD-rest-api

Keycloak configuration diverged from live servers

Offen
#535 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @mrorro Auf GitHub ansehen
keycloak
Vorherrschende Sprache
Python
Sterne
36
Forks
77
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When starting keycloak from the repository with its default imported configuration, keycloak provides the following metadata to the REST API:
```json
{'exp': 1748938686, 'iat': 1748938386, 'jti': '40de1f44-41f7-477f-b1f1-3373bd381f6b', 'iss': 'http://localhost/aiod-auth/realms/aiod', 'aud': 'account', 'sub': '4a80f256-3928-4cfa-ba66-5e22bb36fc01', 'typ': 'Bearer', 'azp': 'aiod-api-swagger', 'session_state': 'db54b64f-8d55-4cd3-b3c7-d97cb27514c9', 'acr': '1', 'allowed-origins': ['http://localhost:8000/'], 'realm_access': {'roles': ['offline_access', 'uma_authorization', 'default-roles-aiod']}, 'resource_access': {'account': {'roles': ['manage-account', 'manage-account-links', 'view-profile']}}, 'scope': 'openid profile email', 'sid': 'db54b64f-8d55-4cd3-b3c7-d97cb27514c9', 'email_verified': False, 'preferred_username': 'user', 'given_name': '', 'family_name': '', 'client_id': 'aiod-api-swagger', 'username': 'user', 'token_type': 'Bearer', 'active': True}
```
But this is different form what the dev/prod keycloak servers provide. For example, there is no 'username' there. The configuration in the repository should match that in dev/prod w.r.t. roles, user metadata, and so on (though obviously not the users).

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.