[keycloak-user] Terms and Conditions
Bruno Palermo
palermo at pobox.com
Mon May 30 08:42:41 EDT 2016
Stian,
For the custom registration flow is pretty clear how to deploy.
But for the realm resource, how it should be done?
Thanks,
Bruno
Date: Mon, 30 May 2016 07:52:47 +0200
Subject: Re: [keycloak-user] Terms and Conditions
From: sthorger at redhat.com
To: palermo at pobox.com
CC: keycloak-user at lists.jboss.org
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] https://github.com/keycloak/keycloak/blob/master/server-spi/src/main/java/org/keycloak/services/resource/RealmResourceProvider.java[2] http://keycloak.github.io/docs/userguide/keycloak-server/html/auth_spi.html#d4e3969
On 30 May 2016 at 00:48, Bruno Palermo <palermo at pobox.com> wrote:
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 at redhat.com
To: keycloak-user at 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 list
keycloak-user at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user
_______________________________________________
keycloak-user mailing list
keycloak-user at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user
_______________________________________________
keycloak-user mailing list
keycloak-user at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160530/9fdb5bf2/attachment.html
More information about the keycloak-user
mailing list