W16 <<
Previous Next >> VirtualBox
CMS
使用Google + Domain API為@ gm.nfu.edu.tw用戶設置登錄名
https://console.developers.google.com
設置OAuth 2.0客戶端ID
使用https://github.com/authomatic/authomatic允許用戶使用Google或Github帳戶登錄。
獲取您的oauth_gm.txt文件內容:
- 登錄到您的@gm帳戶
- 到https://console.developers.google.com
- 接受許可並創建Google API項目
- 啟用Google +Domain API
- 在Google + Domain API憑證下,按CONFIGURE CONSENT SCREEN按鈕
- 選擇內部或外部用戶類型並添加新的應用程序名稱
- 在“ API和服務”下,進入“憑證”頁面
- 為Web應用程序創建“ OAuth 2.0客戶端ID”類型的憑據
- 授權的JavaScript來源:https://localhost:8443
- 授權的重定向URI:https://localhost:8443/login/google/
- 將自己的的客戶ID和客戶密碼保存到oauth_gm.txt中
安裝Authomatic imutils opencv-python
pip install Authomatic imutils opencv-python
W16 <<
Previous Next >> VirtualBox