Hi Eric,

> I haven't seen the remote -> localhost redirection
> issue before.  Is it possible you have a setting that
> is too restrictive in Internet Options
> (or your system's equivalent)?

I have default settings in internet options, or Opera/firefox. With
opera, this issue is discussed here:
http://my.opera.com/community/forums/topic.dml?id=267096

And i talked to some channel ops in #opera at freenode. They said that
there's no way to get round it except add an extra page in the
redirection where the user manually clicks a localhost url. For me it
has the same problem in other browsers. I looked around for a setting
that would be causing this, i don't have a firewall. I even disabled
web shield on my Nod32 antivirus. So i'm not sure. Anyways that does
not pose a real problem right now, 'cos when i manually press enter at
the redirected url in the address bar it works.

>
> If all else fails, you can register your test
> domain(s) for /h9 (form you pointed out).
I sent a registration request yesterday morning by filling out the
form at http://services.google.com/events/googhealthdevelopers .
There are 2 test domains that i requested in the form. 
http://testingemr.appspot.com
and http://emriqhealth.appspot.com


>
> NonAuthSubToken error can occur when trying to upgrade the single use
> token more than once.  It could also be the case that the token isn't
> being extracted from the URL correctly. What library are you using?

I am using Django with the following code in my corresponding
views.py:

client = gdata.health.service.HealthService(source='emr-testingemr-
v1', use_h9_sandbox=True)
def get_token(request,tokenstr):
     if request.method == 'GET':
        token = request.GET['token']
        print token # seems to print the correct token as appended in
the url..with just %2F instead of /
        client.auth_token = token
        client.UpgradeToSessionToken()

I also tried manually assigning the token in the code by copy pasting
the token from the url and also changed %2F with /, cos i thought it
might be a that escape character causing trouble.


Thanks for taking the time, Eric.
-Sid
--~--~---------~--~----~------------~-------~--~----~
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