-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ServiceCredential implementation missing for Windows 8.1 #758
Comments
What is the exact error message you are getting? Did you give the service account access to the Drive account you want to upload to? Other wise its just going to try to upload the files to its own drive account. Some code would be helpful |
This feature is currently not implemented for Windows 8.1 apps, only net45 applications. That is, the code is in GoogleApis.Auth.PlatformServices_Shared/OAuth2/ServiceAccountCredential.cs We are currently doing some work around platform support and auth, and may support this (no guarantee...) |
ServiceAccountCredential is also not available in the netstandard (.NET Core) build. |
We will not be implementing ServiceAccountCredential for Windows 8.1 apps. |
I'm trying to create a screenshot upload mechanism for my Windows 8.1 Metro style application.
I wanted the application to upload screenshots using a service account to a specified Google Drive - it's for trouble-shooting purposes (think "report a problem" type functionality).
Sadly, it appears I cannot connect the application using a service account. I've managed to get the app to connect using OAuth, but this requires the user to specify credentials - something I don't want to do.
All documentation points to the use of the ServiceAccountCredential class. However, this class is missing from the Windows 8.1 nugget. There's a ServiceCredential class, but it's abstract and as such cannot be used.
Is this feature simply not implemented for Windows 8.1 Metro apps, or is there a trick to doing this?
The text was updated successfully, but these errors were encountered: