asp.net - How to resolve Permission issue with Google.Apis.Auth -
i have created website in asp.net
store uploaded files on google drive using google drive api.
everything works fine on local machine, on server when accessing site drive functionality, getting next error:
system.unauthorizedaccessexception: access path 'google.apis.auth' denied.
my authentication code:
var drivecredential = googlewebauthorizationbroker.authorizeasync(new clientsecrets {clientid = client_id,clientsecret = client_secret, } ,new[] { driveservice.scope.drive } ,"user@gmail.com" ,cancellationtoken.none).result;
how resolve issue ?
asp.net google-drive-sdk
No comments:
Post a Comment