Keycloak social login modifications

49 Views Asked by At

I am trying to customize the social login feature of keycloak. I want to perform following tasks when a new user is registered in keycloak using social login feature.

  • Add some additional roles
  • Persist some data in my database using REST endpoint.

Use case details: My web application allows different types of users to get registered. Based on what type of user is trying to get registered, i assign some specific roles and also persist data in my database. I want to make sure that user type information is not lost when the user gets registered using social login feature of keycloak.

Is this possible? What is the best approach to do this?

0

There are 0 best solutions below