The Google Oauth enables a single sign on using valid google credentials and allows document sharing as done with Google Drive. This needs the Client Key and Client Secret. Here is how to create it and enter the values. Before proceeding these steps ensure that you have the Google Oauth Plugin enabled for your account.

  1. Go to console.developers.google.com.

  2. Log in with your Google account credentials.

  1. Click the Create Project button to create a new project.

  1. Enter the project name, accept the terms and conditions, and then click the Create button.

  2. Click on your project name to open your project.

  3. Click APIs & auth > APIs to open the API Library.



  1. Click Drive API > Enable API button to enable the Drive API.



  1. Click Credentials.



  1. On the Credentials tab, click Add credentials > OAuth 2.0 client ID.



  1. Click the Configure consent screen button to enter a product name before creating a client ID.



  1. On the OAuth consent screen tab, enter a product name, and then click the Save button. The consent details will be shown when a user does a single sign-on for the first time, and it will inform the user the permissions that are being granted to the application requesting for access.



  1. Select the application type as Web application.

  2. Enter the authorized redirect URLs. The redirect URL must be http://<your_webapplication_url>/authenticate. For example if your Fedena domain is myschool.fedena.com then enter the value as “http://myschool.fedena.com/authenticate”.

Note: If you have more than one school to create single sign-on for, enter each URL in a new line, in the same format.

  1. Click the Create button. You will be provided a client ID and client secret.

  1. Make note of the client values, and then click OK.

  2. Then login to your accounts.fedena.com account (or your individual saas account).
  3. Click on your username on the top right hand corner to give a drop down menu.


    



18. Click on Company. This shows a new page with tabs containing your company information.


19. Click on the Plugin settings tab and then click Google OAuth. Enter the Client Key and Client Secret values generated in the step 12 here. Click save to save the values


Now if the GoogleOauth Plugin has been enabled for your school and the check box Enable Oauth has been checked in the General Settings of Fedena, you can login with your google account and view the documents.