[keycloak-user] Distinguish between Existing user login and new registration

Stian Thorgersen stian at redhat.com
Thu Jun 4 08:33:55 EDT 2015


No we don't have that atm. Not sure it makes sense doing it that way either.

You could do an event listener that listens for registrations instead?

----- Original Message -----
> From: "Kalinga Dissanayake" <kalinga at leapset.com>
> To: keycloak-user at lists.jboss.org
> Sent: Thursday, 4 June, 2015 5:55:26 AM
> Subject: [keycloak-user] Distinguish between Existing user login and new	registration
> 
> 
> 
> 
> 
> Hi guys,
> 
> 
> 
> Is there an easy to way to distinguish between a JWT token received after a
> brand new user registration or an existing user login?
> 
> Basically in my use case the client will be given the responsibility to
> update roles if its a brand new user registration or deny access if its an
> existing user. Is there an easy way to distinguish between the two.
> 
> 
> 
> Thanks.
> 
> 
> 
> Kalinga
> 
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user


More information about the keycloak-user mailing list