You don't have to change too much.
In the old setup, you displayed a popup that passed through openId to get the user's identity and e-mail address.
In the new setup, you show a popup that does an OAUTH2 dance to get the user's identity and e-mail address.
Because the scopes are pre-authorized, the end user will not see the consent screen and from a end user's perspective, nothing really changes.