Hi,

I was deploying a test application on AppEngine that interfaces to H9
for now. This is the link that i send users to:

https://www.google.com/h9/authsub?scope=https%3A%2F%2Fwww.google.com%2Fh9%2Ffeeds%2F&session=1&secure=0&next=http://testingemr.appspot.com:80/get_token/&permission=1


As you can see i am using secure=0, with h9. The other parameter in my
opinion also seem(?) to be correct. The url sends me to a google login
screen, and after logging in it gets redirected back to a page with
the error:

    Sharing denied: unregistered provider: testingemr.appspot.com

Do i need to register this appspot domain somewhere even with h9 and
secure-0. I tried the same process with my app runnning on localhost:
8080. Doing that i log on to google when prompted, and h9 also shows
me a "Confirm linking of accounts" screen. But clicking "Yes, link my
accounts", i get redirected to an error page in Firefox:

Connection Interrupted. The connection to the server was reset while
the page was loading. The network link was interrupted while
negotiating a connection. Please try again.

The URL of this error page is intriguing though. It is something like:
http://localhost:8080/get_token/?token=1%2FWdv7wCOwGuPHGyi5tqhUNWATiaQZnWPB51nTvo8n9Sw&permission=1

which is the 'next' i specify and with a token too.

1. So what i gathered is either h9 even with secure=0 doesnt work with
domains other than localhost??
2. With localhost, it works partly and i think the problem is on the
local end. It shows a similar behaviour with Opera as well. I reckon a
remote app redirecting to a local resource gets blocked at my end....
maybe by the browser itself for security purposes.

Anyhow, there must be something wrong i'm doing here, since some ppl
have made it work.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Health Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/googlehealthdevelopers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to