When I disable the admin client, the same process I outlined above results
in a NullPointerException within Keycloak and reporting an Internal Server
Error to the user. Removing the manage-account client specific role from
the users still shows an error in this case but at least displays better
and doesn't result in an internal error. So removing the role is the better
solution.
On Mon, Sep 18, 2017 at 6:32 AM, Stian Thorgersen <sthorger(a)redhat.com>
wrote:
Users are not allowed to edit the username unless that option is
enabled
for a realm.
On 18 September 2017 at 13:45, Gabriel Lavoie <glavoie(a)gmail.com> wrote:
> Hi Jonathan,
> disabling the "account" client will do the trick.
>
> Gabriel
>
> 2017-09-16 20:54 GMT-04:00 Jonathan Little <rationull(a)gmail.com>:
>
> > No, I didn't realize that access was controlled by a dedicated client. I
> > will look into that -- thanks!
> >
> > On Sat, Sep 16, 2017 at 1:47 PM, Stephen Henrie <
> > stephen(a)saasindustries.com>
> > wrote:
> >
> > > Have you thought about removing the account related user permissions
> or
> > > disabling the account client which allow access to account maintenance
> > > page?
> > >
> > >
> > >
> > > On Fri, Sep 15, 2017 at 8:54 PM, Jonathan Little <rationull(a)gmail.com
> >
> > > wrote:
> > >
> > > > Is there a way to disable access to the self service user management
> > page
> > > > (covered here:
> > > >
http://www.keycloak.org/docs/3.3/server_admin/topics/account.html)?
> > We
> > > > have a use case where supposedly we don't want our users to be
able
> to
> > > > modify their own username, and password resets can be handled via
> the
> > > > Forgot Password link on the login page.
> > > >
> > > > Or is there at least a way to disable username editing?
> > > >
> > > > I'd think if there were it would be pretty obvious in the admin
UI
> but
> > I
> > > > figured I'd ask..
> > > >
> > > > Thanks!
> > > > _______________________________________________
> > > > 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
> > >
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user(a)lists.jboss.org
> >
https://lists.jboss.org/mailman/listinfo/keycloak-user
> >
>
>
>
> --
> Gabriel Lavoie
> glavoie(a)gmail.com
> _______________________________________________
> keycloak-user mailing list
> keycloak-user(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>