Hi!
We're users of the Delphi suite and try to connect to Google Services. The precompiled Demo works well. But when I use our installed components to implement Google calendar connectivity, I get this error message from Google in the web browser:
Error 400: invalid_scope
Some requested scopes were invalid. {invalid=[https%3A%2F%2Fhttp://www.googleapis.com%2Fauth%2Fcalendar%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar.events]}
All I did was add a TsgcHTTPGoogleCloud_Calendar_Client to a fresh form, entered the ClientId and ClientSecret
Reason: The TsgcHTTPOAuth_AuthorizationServer.GetScope method uses sgcPathencode() at the end. When I don't let that happen in teh debugger, authentication works fine.
We're users of the Delphi suite and try to connect to Google Services. The precompiled Demo works well. But when I use our installed components to implement Google calendar connectivity, I get this error message from Google in the web browser:
Error 400: invalid_scope
Some requested scopes were invalid. {invalid=[https%3A%2F%2Fhttp://www.googleapis.com%2Fauth%2Fcalendar%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar.events]}
All I did was add a TsgcHTTPGoogleCloud_Calendar_Client to a fresh form, entered the ClientId and ClientSecret
Reason: The TsgcHTTPOAuth_AuthorizationServer.GetScope method uses sgcPathencode() at the end. When I don't let that happen in teh debugger, authentication works fine.