Goole Api 設定

  1. 登入 Google API credentials 新增 credentials,其中 Authorized redirect URIs 為 moodle elcentra 模組的 google_response.php。
    Create Credentials --> OAuth Client ID --> App type (Web application) --> Create
    

    Image googlecreateoauth
  2. 新增 Google API Oauth Client ID 後,將其 Client ID 及 Client secret 複製到 moodle elcentra 登入模組的 Google API 設定。
    Page path
        Home / ► Site administration / ► Plugins / ► Authentication / ► elcentra Login framework
    
    Facebook API
    	Google Client ID
    	Google Client Secret