You could also use the realm resource SPI [1] to add a static page for the
terms and conditions.
For server-side validation you can use a custom registration flow [2]
[1]
Stan,
For now I'm using a static page outside Keycloak. As for the script I will
have a look at the admin client API.
Also would be an interested option to force the user to accept the terms
before creating an account, just using a regular checkbox on the
registration form.
Right now I`m doing client side validation using JQuery. Any suggestion
for the server side validation?
Thanks,
Bruno
------------------------------
Date: Sun, 22 May 2016 20:25:31 -0400
From: ssilvert(a)redhat.com
To: keycloak-user(a)lists.jboss.org
Subject: Re: [keycloak-user] Terms and Conditions
On 5/20/2016 7:24 PM, Bruno Palermo wrote:
Hi,
It's possible to link directly to the terms and conditions page? What's
the URL?
You could create your own static page, but it doesn't sound like that's
what you want. But linking to the middle of a login flow doesn't make much
sense either.
In case there's an update to terms, is possible to add the required action
to accept the terms again to all users?
This is probably what you want. It should be fairly easy to write a
script for adding the required action to all users. Are you familiar with
the admin client?
It might be a nice addition to the admin UI if we allow you to assign a
required action to all users. Something to think about for a 2.x feature.
Thanks,
Bruno
_______________________________________________
keycloak-user mailing
listkeycloak-user@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/keycloak-user
_______________________________________________ keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user