OneDrive OAuth

Component ID

2447123

Component name

OneDrive OAuth

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

340

Component created

Component changed

Component body

This Module can be used for Single Sign On with OneDrive to register and login with your Drupal sites.

Installation:

Install as any other module:
http://drupal.org/documentation/install/modules-themes

Note : This module requires cURL HTTP Request.

App Creation/Configure:

  • Go to admin/config/people and "OneDrive OAuth Settings" link
  • Copy "Connect url" in notepad

OneDrive App creation:

  1. Go to https://account.live.com/developers/applications/index
  2. click on "Create application"
  3. Provide the name for your application
  4. Go To "API Settings" tab
  5. Enter the Redirect url from drupal "OneDrive OAuth Settings" "Connect url"
  6. Go to "APP Settings" tab
  7. Copy "Client ID" value to the drupal OneDrive OAuth settings "Application ID" textbox
  8. Copy "Client secret (v1)" value to the drupal OneDrive OAuth settings "Application Secret" textbox
  9. click save configuration button

How to enable OneDrive Single Sign On

  • New User:
    • Go to User login page and navigate to "Login with OneDrive" tab
    • Click on "Login with OneDrive" link
    • Give access to the application to get your emails information
  • Already Registered Users:
    • For the first time the user needs to login to their drupal site with their drupal login credentials.
    • Navigate to "My Account" Page -> "OneDrive OAuth map"
    • Click the link and its automatically Navigate to the OneDrive Login Page Give the Permission for the OneDrive APP
    • Now you are ready for single sign on with OneDrive

Road Map

  • Drupal user Files to users onedrive - Requires Testing
  • Drupal files - Save to OneDrive (similar to Google Save to Drive button)

For Demo click here