From fb775f03481019e042ff3b9fe84d4ff04ec0c090 Mon Sep 17 00:00:00 2001 From: Navid Khalili Date: Mon, 24 Jul 2017 04:02:09 +0430 Subject: [PATCH] Change Google Developers Console Section (#3677) * Change Google Developers Console Section Since Google Developers Console Interface has been changed we need to update this section. * Update create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on.md * Update create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on.md * Update create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on.md --- ...-facebook-and-google-oauth2-and-openid-sign-on.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/aspnet/mvc/overview/security/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on.md b/aspnet/mvc/overview/security/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on.md index 393f321f28..e00b123891 100644 --- a/aspnet/mvc/overview/security/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on.md +++ b/aspnet/mvc/overview/security/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on.md @@ -110,16 +110,16 @@ To connect to authentication providers like Google and Facebook, you will need t ## Creating a Google app for OAuth 2 and connecting the app to the project 1. Navigate to the [Google Developers Console](https://console.developers.google.com/). -2. Click the **Create Project** button and enter a project name and ID (you can use the default values). In a few seconds the new project will be created and your browser will display the new projects page. -3. In the left tab, click **APIs & auth**, and then > **Credentials**. -4. Click the **Create New Client ID** under OAuth. +1. If you haven't created a project before, select **Credentials** in the left tab, and then select **Create**. +1. In the left tab, click **Credentials**. +1. Click **Create credentials** then **OAuth client ID**. 1. In the **Create Client ID** dialog, keep the default **Web application** for the application type. 2. Set the **Authorized JavaScript** origins to the SSL URL you used above (`https://localhost:44300/` unless you've created other SSL projects) 3. Set the **Authorized redirect URI** to: - `https://localhost:44300/signin-google` -5. Click the Consent screen menu item, then set your email address and product name. When you have completed the form click **Save**. -6. Click the APIs menu item, scroll down and click the off button on **Google+ API**. + `https://localhost:44300/signin-google/` +5. Click the OAuth Consent screen menu item, then set your email address and product name. When you have completed the form click **Save**. +6. Click the Library menu item, search **Google+ API**, click on it then press Enable. ![](create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on/_static/image15.png)