[Google Drive Connector] Setup URI

[Google Drive Connector] Setup URI

  
Forge Component
(31)
Published on 18 Oct by OutSystems
31 votes
Published on 18 Oct by OutSystems
Hello Nuno, first of all congratulations for component but I can't make work, I think ther problem is with setup of my URLs when I create an Authorized Access, I use OAuth 2.0, 

My setup was: 

Authorized Redirect URIS = https://myserver/GDriveComponent
Authorized Javascript Origins = https://myserver

My server is Local so I need to make this in a public one? Correct? In a valid DNS, because myserv
My setup was: 

Authorized Redirect URIS = https://myserver/GDriveComponent
Authorized Javascript Origins = https://myserver

My server is Local so I need to make this in a public one? Correct? In a valid DNS, because myserver isn't a valid URL for Goole.
Solution
Hi Nuno, I resolve the problem, my redirect URI are incorret but now is ok. Fantastic job. 

Just take me a question, I realized that every operation, for example deleting a file or upload the file I need to re-authenticate, this is expected behavior?
Solution
Hi Alexandre. yes you need to create a new authentication session in each interaction, This was one of our roadblocks in the development of the component because there is no way to store the authentication object between actions. 
Alexandre Costa wrote:
Hi Nuno, I resolve the problem, my redirect URI are incorret but now is ok. Fantastic job. 

Just take me a question, I realized that every operation, for example deleting a file or upload the file I need to re-authenticate, this is expected behavior?
 I Alexandre,
I have this problem can you tell me what you put in redirect URL in the credentials settings?
Thank you
Best Regards