[AngularJS] Re: Google Earth Engine API with Angular problem

2020-06-14 Thread Sander Elias
https://developers.google.com/identity/protocols/oauth2/javascript-implicit-flow

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/4008dfcb-25e8-4106-8cc7-0c86f3d70af6o%40googlegroups.com.


[AngularJS] Re: Google Earth Engine API with Angular problem

2020-06-14 Thread Sander Elias
Hi Deepak,

Make sure you are using the google authentication path that s setup up for 
usage in the browser, it sounds like you are trying to use server-side auth 
in your browser.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/c2e90dd2-2b75-40b4-b2dd-bf103c2f46e2o%40googlegroups.com.


[AngularJS] Re: Google Earth Engine API with Angular problem

2020-06-06 Thread Deepak Jain
Hey Sander,
I tried using AuthenticateViaPrivateKey() but it says "Use of private key 
authentication in the browser is insecure. Consider using OAuth, instead.". 
And, when I try this OAuth, it says same error.


On Sunday, 21 July 2019 09:37:09 UTC+5:30, Sander Elias wrote:
>
> Hi George,
>
> The code provided here is not enough to find an answer. I suspect you are 
> trying to use google earth before it finished loading. Make sure it's 
> loaded before using it.
>
> Regards
> Sander
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/c874e1f6-c4bf-4d79-89cb-608217cabb69o%40googlegroups.com.


[AngularJS] Re: Google Earth Engine API with Angular problem

2019-07-20 Thread Sander Elias
Hi George,

The code provided here is not enough to find an answer. I suspect you are 
trying to use google earth before it finished loading. Make sure it's 
loaded before using it.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/9f61ae0d-4308-4529-bc76-720426ea82a9%40googlegroups.com.