OneDrive sample application for JavaScript.
HTML JavaScript CSS
Latest commit 39030a3 Feb 10, 2017 @rgregg rgregg committed on GitHub Merge pull request #8 from rgregg/master
Allow redirecting ODX to another baseUrl

README.md

OneDrive Explorer sample web app

This sample illustrates the basic concepts for interacting with OneDrive via Microsoft Graph API to create a file explorer web app.

See it in action!

Files included in this project:

  • index.html - A sample web app to view the contents of the signed in user's OneDrive and show the JSON structures returned by the API.
  • callback.html - A callback page used as part of the OAuth authenication flow.
  • odauth.js - A simple js library for handling the OAuth2 implicit grant flow for OneDrive. Called from index.html.

License

Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT license.

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.