[keycloak-user] URL/Link for registration page
sthorger at redhat.com
Tue Oct 6 07:38:51 EDT 2015
+1 We should also add register() so it's consistent with login and account
On 6 October 2015 at 13:32, Libor Krzyzanek <lkrzyzan at redhat.com> wrote:
> I’m checking the keycloak.js source code and it seems that createLoginUrl
> already support it. Just pass in options 'options.action == ‘register’’ and
> it should create a registration page url.
> From keycalok.js API point of view would say there could be a new method
> “createRegistrationUrl” method which will be just a shortcut for calling
> the createLoginUrl with options.action=‘register'.
> Libor Krzyžanek
> jboss.org Development Team
> On Oct 6, 2015, at 12:37 PM, Stian Thorgersen <sthorger at redhat.com> wrote:
> True would be nice to add to keycloak.js - do you want to create a jira
> and maybe even a PR?
> On 6 October 2015 at 12:28, Libor Krzyzanek <lkrzyzan at redhat.com> wrote:
>> Yep works. Thanks for the tip. We can handle it in JS implementation.
>> Wouldn’t be useful to have extra methods in Keycloak JS adapter for it
>> like you have for login … login(options), createLoginUrl(options) methods.
>> It would be super convenient then.
>> Libor Krzyžanek
>> jboss.org Development Team
>> On Oct 6, 2015, at 12:09 PM, Stian Thorgersen <sthorger at redhat.com>
>> Just swap the last 'auth' to 'registrations' in the link and you'll get
>> the registration page instead of login page
>> On 6 October 2015 at 11:12, Libor Krzyzanek <lkrzyzan at redhat.com> wrote:
>>> is it possible to have a unique URL resp. link for registration page on
>>> JS Adapter (
>>> http://keycloak.github.io/docs/userguide/html/ch08.html#d4e1098) has
>>> only login and logout actions.
>>> Right now there is only login page as entry point for clients.
>>> It’s quite common to have separate links for Login and Register on
>>> website because going directly to registration page makes registration
>>> process easier.
>>> Other scenario is promoting registration via e-mail like “Register for
>>> free. Click on this link …"
>>> It would be great to have bookmarkable URL for such use case.
>>> Libor Krzyžanek
>>> jboss.org Development Team
>>> keycloak-user mailing list
>>> keycloak-user at lists.jboss.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the keycloak-user