[Oauth]使用 OAuth 2.0 存取 Google APIs(for Login)
要使用Google API第一步要先 取得Client ID ,步驟如下:
- 申建立專案
- 啟用API
- 啟用 Google+ API


- 建立 憑證:
- 類型 , 來源,"使用者資料" :
![]() |
- 已授權的重新導向 URI (填寫需要的網址):
- 例如:
- http://localhost:8080/raas/googleLoging.jsp
- http://localhost:8080/raas/testing/googleOAuth2_redirectUri.jsp
- 產品名稱:隨便填,以後可以修改
- Client ID ,由google系統產生, source code會用到










沒有留言:
發佈留言