[web2py] Re: OAUTH2.0 help

2018-03-20 Thread greenpoise
Thanks Dave. I will take a lookt that. The workflow is pretty much the one you sent. I found a few examples that i was able to follow with some modifications. OAuth documentation had the best one that followed exactly the same workflow i needed with the difference that the provider has a predete

[web2py] Re: OAUTH2.0 help

2018-03-19 Thread Dave S
On Monday, March 19, 2018 at 3:58:00 PM UTC-7, Greenpoise wrote: > > I feel like I am having a monologue here geez.. ANyways, I sort of figured > this one out by going to the Index following the authentication and > redirecting to the menu. Eventually the redirect should only work if both > Ac

[web2py] Re: OAUTH2.0 help

2018-03-19 Thread Greenpoise
I feel like I am having a monologue here geez.. ANyways, I sort of figured this one out by going to the Index following the authentication and redirecting to the menu. Eventually the redirect should only work if both Access token and refresh token are received. Anyways, now (hopefully someone w

[web2py] Re: OAUTH2.0 help

2018-03-15 Thread greenpoise
I need a push on this one. Now that I know how to properly Authenticate, also retrieve the code and the access_token which in turn is the same one used to refresh_token, how can I put everything together? I need to check whether the token is expired ( I am thinking a session) and if it is, auth

[web2py] Re: OAUTH2.0 help

2018-03-07 Thread greenpoise
Hi Dave, thanks for the input. I was able to post the temporary code and get an authentication code. I will post tomorrow my updated code. I feel i am close. Thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https

[web2py] Re: OAUTH2.0 help

2018-03-07 Thread Dave S
I probably shouldn't be answering, because my OAUTH2 expertise comes from a presentation by Jim Manicore of Manicode.com, but ... On Wednesday, March 7, 2018 at 3:05:48 PM UTC-8, greenpoise wrote: > > I feel I am almost there making a connection. So, following the steps of > the server side, I