No Tom. This is the approach that I am doing in my app. I persist my session
token in database that I've created, making a relation between token and the
patient storaged in my db. If the same patient try to follow the auth path
again, I verify if already exists a token for that patient. If so, I skip
the auth path and redirect him to his profile page. If not, I do the normal
auth path.
Got me, now?

See ya.
---
Matheus Cardoso de A. Silva - MCAS.
Engenharia de Computação - UEFS
Integrante do projeto de "Modelos de Propagação Microcelulares em Áreas
Urbanas e Rurais para Frequências nas Faixas de UHF e Microondas".

"Não deixe o agora se tornar tarde demais."


On Sun, Oct 25, 2009 at 3:27 PM, tom <[email protected]> wrote:

>
> How do I verify the token account? Is there sample code to do this? I
> was following the python developer guide for ghealth and it said
> nothing about this.
>
> On Oct 15, 7:33 am, MCAS <[email protected]> wrote:
> > Tom,
> >
> > I have an idea about your trouble. I think that you can avoid these
> repeated
> > links to your account test, verifying always if you already have the
> refered
> > token account. If you already got it, you should skip the part in your
> > program that make the path authorization and follow direct to your other
> > tasks. Got me?
> >
> > See ya.
> > ---
> > Matheus Cardoso de A. Silva - MCAS.
> > Engenharia de Computação - UEFS
> > Integrante do projeto de "Modelos de Propagação Microcelulares em Áreas
> > Urbanas e Rurais para Frequências nas Faixas de UHF e Microondas".
> >
> > "Não deixe o agora se tornar tarde demais."
> >
> > On Wed, Oct 7, 2009 at 11:57 PM, tom <[email protected]> wrote:
> >
> > > Following the documentation for AuthSub, we direct to the login page,
> > > get a one time use token, exchange it for a session token, and use
> > > that for all subsequent API calls.
> >
> > > So far so good.
> >
> > > When I am directed to login, I am then directed to a page asking if I
> > > want to link my account to the app. Of course I do so I click yes. The
> > > problem is, it does this every time I log in. After weeks of testing,
> > > I look at my list of linked applications in h9, and see my own app
> > > listed 50 times.
> >
> > > Screenshots here:
> >
> > >http://code.google.com/p/chiefmedicalofficer/downloads/list
> >
> > > It gets more complicated if I have multiple profiles under one
> > > account. I really need to link them all, but that will be another
> > > discussion. For now I want to link the account once, have it show up
> > > in the list once, and not on every login. I know this is possible, I
> > > must be missing something simple. Can anyone tell me what it is?
> >
> > > App engine python code can be found here:
> >
> > >http://code.google.com/p/chiefmedicalofficer/source/browse/#svn/trunk.
> ..
> >
> > > And the app can be seen here:
> >
> > >http://chiefmedicalofficer.appspot.com/
> >
> > > adThanksvance,
> >
> > > -tom
> >
>

--~--~---------~--~----~------------~-------~--~----~
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