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

Rodrigo Sasaki rodrigopsasaki at gmail.com
Tue Oct 14 10:01:15 EDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20141014/3f835910/attachment.html 


More information about the keycloak-user mailing list