1
I made an integration with the GoogleDrive
and by doing all the authorization on the consent screen, it creates a token
in the appdata
user, however I put this application in Azure
in a VM
.
Only that by creating this token
he’s creating in the appdata
of VM
, but I would like it to create on the user machine that is accessing the application, follows the code:
UserCredential Credencial = GoogleWebAuthorizationBroker.AuthorizeAsync(new ClientSecrets
{
ClientId = ClienteID,
ClientSecret = ClienteSenha
},
scopes, NomeUsuario, CancellationToken.None, new FileDataStore("token.aut")).Result;
If anyone can help me solve it I appreciate.
You can use HTML5 Storage to store this data, how about?
– Jhonathan
this token can be stored in an encrypted cookie using Asp.net mvc ? or using Localstorage or Session Storage? or use in a variable ?
– Eduardo Sampaio