Go to https://console.developers.google.com and login

Dashboard

Click on Select a project

Click on NEW PROJECT

New project

Spesify Name and click on CREATE

Go to Credentials -> OAuth consent screen

Provide Application name and logo if you want

Provide Authorized domains in this case microsoftonline.com

and click on Save.

Go to Credentials -> Credentials and choose OAuth client ID

Create OAth client ID

Provide Web application as Application type and Name for application.

Then for Authorized JavaScript origins, we have to provide

https://login.microsoftonline.com

and for Authorized redirect URIs

https://login.microsoftonline.com/te/sergeydotnetb2c.onmicrosoft.com/oauth2/authresp

Notice that url: sergeydotnetb2c.onmicrosoft.com is url to Azure AD B2C Tenant. To read about how to create an Azure AD B2C Tenant read this blog post.

Click Create.

And now we get our client ID and client secret


Create Azure Active Directory(AD) B2C

Google Console