Register the Open edX Instance with Google
The following instructions describe how to configure Google as a third party authentication provider so that users can use Google accounts (which includes Google Apps accounts) to sign in. These are based on the official Google instructions.
- Obtain credentials to access the Google API. To do this, follow the official Google instructions to go to the Google Developers Console, create a new project, and enable the Google+ API service.
- In the Google Developers Console, select API Manager, and then select OAuth Consent Screen.
- For Product name shown to users enter the name of your Open edX instance (for example, “Example Academy Online”).
- Select Save.
- Select the Credentials tab, select Create credentials, and then select OAuth client ID.
- For Application type, select Web application.
- Leave the Authorized JavaScript origins field blank.
- For Authorized redirect URIs, enter
<Open edX instance domain>/auth/complete/google-oauth2/
. For example, for devstack, enterhttp://localhost:8000/auth/complete/google-oauth2/
. - Select Create to finish creating the credentials.
- After you obtain the credentials, note the client ID and the client secret.
Comments
Post a Comment