获取 OAuth 的 Google 客户端 ID 和客户端密码
Getting Google Client ID and Client Secret for OAuth
我正在与一家使用 Google Apps 免费订阅的公司合作。这家公司有一个网站。他们想让在其域中拥有 Google Apps 帐户的用户通过 OAuth 验证进入网站。
我的问题是,在哪里可以找到执行 OAuth 所需的 ClientId
和 ClientSecret
?
谢谢!
OAuth 2.0 for Client-side Web Applications 将允许您使用 Oauth2 对用户进行身份验证。这将允许用户授予您的应用程序访问他们私人数据的权限。
您需要前往 Google Developer console and create credentials on this page Credentials
Open the Credentials page in the API Console.
Click Create credentials > OAuth client ID.
Complete the form. Set the application type to Web application. Applications that use JavaScript to make authorized Google API requests must specify authorized JavaScript origins. The origins identify the domains from which your application can send API requests.
我正在与一家使用 Google Apps 免费订阅的公司合作。这家公司有一个网站。他们想让在其域中拥有 Google Apps 帐户的用户通过 OAuth 验证进入网站。
我的问题是,在哪里可以找到执行 OAuth 所需的 ClientId
和 ClientSecret
?
谢谢!
OAuth 2.0 for Client-side Web Applications 将允许您使用 Oauth2 对用户进行身份验证。这将允许用户授予您的应用程序访问他们私人数据的权限。
您需要前往 Google Developer console and create credentials on this page Credentials
Open the Credentials page in the API Console.
Click Create credentials > OAuth client ID.
Complete the form. Set the application type to Web application. Applications that use JavaScript to make authorized Google API requests must specify authorized JavaScript origins. The origins identify the domains from which your application can send API requests.