Symfony knpuniversity/oauth2-client-bundle Register user with additionnal fields

I would like to register with google in two steps.

Click btn -> Google connect

a -> if user in db -> login user

b -> if !user in db ->

  1. display -> form with additionnal fields (int, string etc)
  2. Register user if form is valid

Important: I want save user in db only after the second step.

Is it possible ?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *