Login with Gmail

Hi,
I want my users to login to my app using their google account, and not using with their Okta credentials - but I want to be able to insert their gmail to Okta first - then let them login (I don’t want everyone with a Google account to be able to login to my app).
What’s the best way to do that?
Thanks

Hi @Matanopp

To achieve this, you will need to set up Google social authentication following the guide here.

Once this is done, for the users that will log in via Google, you can set up a routing rule under Security >> Identity Providers >> Routing Rules (or Users >> Social & Identity Providers >> Routing Rules if using Developer Console administrative interface) to redirect them to Google for authentication.