I am trying to integrate my web appication with google OAuth. When i modified the restricted scope (https://www.googleapis.com/auth/drive) to a non-sensitive scope (https://www.googleapis.com/auth/drive.file). However, after implementing these changes, when attempting to fetch drive files, the response yields an empty files array, despite the existence of files in the drive account. Additionally, no error code is being returned. Can anyone help me to resolve this issue.
I have executed my code using google OAuth client library but there is no code change based on each different scopes.