I refer here to that page you are redirected after you login to GAE app with your google account, which asks your permission to access your google account.
Put this toghether with custom domain and https and you get my problem.
My configuration:
The workflow is:
- user not yet authenticated
- user browse http://myapp.mydomain.com (not ssl)
- user is redirected to google account login page
- user logins
- user is redirected to the abovementioned page: myapp is requesting permission to access user's google account
- user grants his permission
- user is in - OK
- Now comes the problem:
- user makes a submit to https://myapp.appspot.com/someservice (so that data is ssl transmitted), which is loginrequired decorated
- login is ok, user is not again redirected to the login page (I think this is because the google login is cross application (the same should appen if the user was already logged in into gmail, to say)
- but now https://myapp.appspot.com/ is again requesting permission to access user's google account - and this is the problem
The user is prompted TWICE to grant permission to myapp to access his account:
My user doesn't like it and me too !!!
I suspect this is because the user answer (Allow or No Thanks) is saved server side with respect to the URL of the app
and not with respect to some other unique id of the app.
But aside from my suspects I have no idea how to solve it or at least work it around.
Thank you for your patience in reading up to here.
Any help would be appreciated.