[keycloak-user] Find out if user has a password

Stian Thorgersen stian at redhat.com
Tue Oct 14 13:16:21 EDT 2014


I assume you register those users with the admin rest endpoints then? If so it should be trivial to add and it would make sense to make it visible in admin console as well.

----- Original Message -----
> From: "Rodrigo Sasaki" <rodrigopsasaki at gmail.com>
> To: "Stian Thorgersen" <stian at redhat.com>
> Cc: keycloak-user at lists.jboss.org
> Sent: Tuesday, 14 October, 2014 4:01:15 PM
> Subject: Re: [keycloak-user] Find out if user has a password
> 
> Well, we have users that don't use any password, mostly the ones that sign
> up for our newsletter, they're registered as users too, and the application
> behaves a little different for them at some points than it does for users
> with passwords.
> 
> So it would be really nice to have a simple way to have that information if
> possible.
> 
> On Tue, Oct 14, 2014 at 10:55 AM, Stian Thorgersen <stian at redhat.com> wrote:
> 
> > It's only available on the internal UserModel API.
> >
> > If you can explain what you're trying to achieve we can certainly look at
> > adding it. IMO it should be possible to see if a user has a password set
> > through admin console and rest endpoints.
> >
> > ----- Original Message -----
> > > From: "Rodrigo Sasaki" <rodrigopsasaki at gmail.com>
> > > To: "Stian Thorgersen" <stian at redhat.com>
> > > Cc: keycloak-user at lists.jboss.org
> > > Sent: Tuesday, 14 October, 2014 3:45:25 PM
> > > Subject: Re: [keycloak-user] Find out if user has a password
> > >
> > > Is there a way for me to get that information? Even from within the
> > > keycloak server, the admin console perhaps?
> > >
> > > On Tue, Oct 14, 2014 at 10:44 AM, Stian Thorgersen <stian at redhat.com>
> > wrote:
> > >
> > > > Depends on what API you're talking about. It's not available on the
> > admin
> > > > rest api.
> > > >
> > > > ----- Original Message -----
> > > > > From: "Rodrigo Sasaki" <rodrigopsasaki at gmail.com>
> > > > > To: keycloak-user at lists.jboss.org
> > > > > Sent: Tuesday, 14 October, 2014 3:35:57 PM
> > > > > Subject: [keycloak-user] Find out if user has a password
> > > > >
> > > > > Hello,
> > > > >
> > > > > I was wondering if there's a way to know if the user has a password
> > > > > associated with it, I don't need to know the password, I just want to
> > > > know
> > > > > if one exists.
> > > > >
> > > > > Is it possible within the existent API? I didn't see a method to
> > give me
> > > > that
> > > > > information. Maybe I missed something.
> > > > >
> > > > > Thanks!
> > > > >
> > > > >
> > > > > --
> > > > > Rodrigo Sasaki
> > > > >
> > > > > _______________________________________________
> > > > > keycloak-user mailing list
> > > > > keycloak-user at lists.jboss.org
> > > > > https://lists.jboss.org/mailman/listinfo/keycloak-user
> > > >
> > >
> > >
> > >
> > > --
> > > Rodrigo Sasaki
> > >
> >
> 
> 
> 
> --
> Rodrigo Sasaki
> 


More information about the keycloak-user mailing list