News for hackers. Stuff that matters.

mathieupassenau

Hi, it's up to Keycloak admins to define the session expiration time. If "SSO Session Max" parameter is set to "10 hours", there's a good chance that this is still the default configuration... Like many other things in Keycloak such as "brute force detection" disabled, "roles" scope by default, etc...
Hi,

In this case, we use this procedure from the frontend app. When a user registers on Keycloak, this user is only stored on Keycloak.

Keycloak is used as an authentication provider, a "login with". The user is registered in the app on first use, even if the account already exists in Keycloak.

so, calling "api.add_user_if_not_exists" can be used on every request, only the first has an effect.

The field request.jwt.claim.sub is called "subject", this is a unique identifier for the user (a GUID with Keycloak). This field is provisionned by Keycloak, the JWT token has been verified by Postgrest with all informations (Keys).

Re:Keycloak: Open-source identity and access management on Wednesday April 15, 2020 @05:27AM (#22875912)
Damn ! Keycloak on HN homepage ! We use it in production for years. Such a great tool, we deployed a "as a service" version, with a free offer => https://please-open.it
Re:An alternative to using Google Analytics on your website on Wednesday April 08, 2020 @01:08PM (#22814813)
I wrote a blogpost about webanalytics and authentication. https://www.mathieupassenaud.fr/webanalytics_enemy/ Using "authorization code grant" is not as secure as we imagine with those kind of analytics
Re:“Codeless” back end with postgREST on Monday March 02, 2020 @10:12AM (#22465023)
Re:“Codeless” back end with postgREST on Monday March 02, 2020 @06:24AM (#22463482)
not right now, in a few hours :)

Older »