Relative Content

Tag Archive for keycloak

Status code 499 in Keycloak – Can’t load login form

I have custom login in my realm on Keycloak. When I am connected to a domain network, everything works fine and I can see that login, but as soon as I am trying to access it outside the domain, I get the blank page with 499 status code on request for step1.html. I can see title of the app in the tab in browser.

store and access custom fields on keycloak

We have set up a keycloak instance runing on K8s, we set up users and clients there using an admin account.
We have set up an internal service (in python) which receives the requests from our services or users, and by contacting keycloak issues the token.
I would like to add further information on keycloak accounts, such as an S3 key/secret , so when a client can have its own S3 credentials secured on keycloak.
I see that there is an option of attributes on users, but not for clients.

Change the admin URL

A standalone Keycloak 24.0.3 (that is downloaded and started without docker).

Detect first login of a user on keycloak

I want to detect if the user is logging in for the time on keycloak, by a boolean field like first_login in the token claims which could be set to true when the user logs in for the first time. I could not find any relevant predefined mapper nor a user attribute here to create a new custom mapper.
Is there a way to do that?

How to backup KeyCloak before reinstalling

How to backup KeyCloak config before reinstalling?
I mean how did the author export such file https://github.com/Baeldung/spring-security-oauth/blob/master/oauth-rest/oauth-authorization-server/src/main/resources/baeldung-realm.json