I did an integration with GoogleDrive
and when doing all the authorization in the consent screen, it creates a token
in the appdata
of the user, however I put this application in Azure
in VM
.
But when I create this token
it is creating in appdata
of VM
, but I would like it to create on the user's machine that is accessing the application, follow the code:
UserCredential Credencial = GoogleWebAuthorizationBroker.AuthorizeAsync(new ClientSecrets
{
ClientId = ClienteID,
ClientSecret = ClienteSenha
},
scopes, NomeUsuario, CancellationToken.None, new FileDataStore("token.aut")).Result;
If someone can help me solve it, I appreciate it.