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