Coder Social home page Coder Social logo

adelean / onedrivejavasdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tawalaya/onedrivejavasdk

0.0 0.0 1.0 21.39 MB

This project aims to provide a java implementation of the Microsoft OneDrive API https://dev.onedrive.com/README.htm

License: MIT License

Java 100.00%

onedrivejavasdk's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

s4m37

onedrivejavasdk's Issues

Error while running the Console Client

I have cloned your repo, created a credentials.properties with my OneDrive Business App client ID, Secrets and scopes=Files.Read, Files.ReadWrite, Files.Read.All, Files.ReadWrite.All, Sites.Read.All, onedrive.readwrite, offline_access.

I tried to run ConsoleClient App. But get the below error.

"
Microsoft
Sign in
Sorry, but we’re having trouble signing you in.

AADSTS70011: The provided request must include a 'scope' input parameter. The provided value for the input parameter 'scope' is not valid. The scope offline_access is not valid. offline_access scope request must include either openid scope or a resource scope."

I haven't made any change in the code regarding the scope. It is still OneDriveScope.OFFLINE_ACCESS as it is.

Console Logging:
....
....
2019-08-19 11:14:31,277 DEBUG Registering MBean org.apache.logging.log4j2:type=1361960727,component=ContextSelector
2019-08-19 11:14:31,278 DEBUG Registering MBean org.apache.logging.log4j2:type=1361960727,component=Loggers,name=
2019-08-19 11:14:31,279 DEBUG Registering MBean org.apache.logging.log4j2:type=1361960727,component=Appenders,name=Console
2019-08-19 11:14:31,279 DEBUG Reconfiguration complete for context[name=1361960727] at null (org.apache.logging.log4j.core.LoggerContext@3ee37e5a) with optional ClassLoader: null
2019-08-19 11:14:31,280 DEBUG Shutdown hook enabled. Registering a new one.
2019-08-19 11:14:31,280 DEBUG LoggerContext[name=1361960727, org.apache.logging.log4j.core.LoggerContext@3ee37e5a] started OK.
2019-08-19 11:14:31,503 DEBUG Using default SystemClock for timestamps
11:14:31 [main] INFO de.tuberlin.onedrivesdk.networking.OneDriveSession - initialize session for ccaea12d-be24-41cb-9598-84fc916e07d4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.