X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/410bfa05ee36ed1d99356c443a5f3f6aa3ee9578..c1a4dfda807ca08de7d3370fc421abc39d411264:/forum_modules/openidauth/authentication.py diff --git a/forum_modules/openidauth/authentication.py b/forum_modules/openidauth/authentication.py index c82b99e..dfd337f 100644 --- a/forum_modules/openidauth/authentication.py +++ b/forum_modules/openidauth/authentication.py @@ -44,6 +44,13 @@ class AolAuthContext(ConsumerTemplateContext): class MyOpenIdAuthConsumer(OpenIdAbstractAuthConsumer): + dataype2ax_schema = { + #'username': ('http://schema.openid.net/namePerson/friendly', 'friendly'), + 'email': 'http://schema.openid.net/contact/email', + #'web': 'http://schema.openid.net/contact/web/default', + #'birthdate': ('http://schema.openid.net/birthDate', 'birthDate'), + } + def get_user_url(self, request): blog_name = request.POST['input_field'] return "http://%s.myopenid.com/" % blog_name