In my final year project I want to implement a client in which certain files are synchronized with your Google Drive account.
I'm trying to use the Google Drive API for Java and I'm pretty lost with the OAuth2 because all the sources I read indicate that you have to credit the application in Google Developers so you can access Drive.
What I need is for each person who uses the application to connect to their Google account to use their Drive directories.
Could someone help me with the issue of authorization with OAuth2?