I am using GAE with python and I can ask users to sign in with Google using:
loginURL = (users.create_login_url(self.request.path))
This gives me a link that lets users sign in and get redirected to my site.
However some users do not have a Google ID,
Is there any way to let them sign up for one and be redirected to my site?
I know there is no:
signupURL = (users.create_signup_url(self.request.path))
That is the kind of thing I am looking for, asking the user to sign up and have her quickly redirected when she is done.
Thank you very much for any insight.
Actually, it is possible to direct a user to the subscription page.
It is just a little tricky:
The link you get to sign in looks like this:
Where in my case: http://study-wise.appspot.com/login is the url of the application.
The shdf appears to be some key google uses to track the request. But I have not found any clues about it
Now the sign up link will be:
The url:
Was replaced by
and
Has been removed. As far as I see no other changes have been made.
Here is the python function I wrote:
You can use it like this: