Using openid.pape.max_auth_age with Python OpenID?

61 views
Skip to first unread message

Jay Lee

unread,
May 3, 2012, 12:58:49 PM5/3/12
to google-a...@googlegroups.com
I've succeeded in getting my Python app to use OpenID with the simple example at:

however, I'd like to also specify openid.pape.max_auth_age=0 to force users to authenticate to Google before accessing my app (this requirement is the reason I'm using OpenID for auth and not Google Accounts).

Using Chrome dev tools, I can see that /_ah/login_required redirects the user to /_ah/login_redir and login_redir redirects to https://www.google.com/accounts/o8/ud with openid parameters attached but how do I add/modify these parameters? Do I need to create a custom handler for login_redir also in order to modify the parameters or can they be passed through someone on the login_required page?

Appreciate any pointers you can give.

Jay
Reply all
Reply to author
Forward
0 new messages