Ask Your Question

pnascimento's profile - activity

2015-06-15 10:02:12 -0500 received badge  Famous Question (source)
2015-06-15 10:02:12 -0500 received badge  Notable Question (source)
2015-06-15 10:02:12 -0500 received badge  Popular Question (source)
2014-11-21 11:56:06 -0500 commented answer How can I add an oauth2 custom login provider to askbot ?

@Evgeny enabling this custom module... "deactivates" local signin and OAuth as well... It fails because the providers returned by get_enabled_login_providers() from deps/django_authopenid/util.py does not contain the new module, and for some reason ignores or does not comply with local login

2014-11-21 03:06:28 -0500 received badge  Enthusiast
2014-11-19 03:31:09 -0500 received badge  Editor (source)
2014-11-18 19:40:47 -0500 commented question Signin invalid after append custom oauth login module

I created the custom module with help from @Evgeny from his answer: http://askbot.org/en/question/9819/how-can-i-add-an-oauth2-custom-login-provider-to-askbot/?answer=9823#post-id-9823%3C/p (http://askbot.org/en/question/9819/how-can-i-add-an-oauth2-custom-login-provider-to-askbot/?answer=9823#post-id-9823</p<>>)

2014-11-18 19:38:38 -0500 asked a question Signin invalid after append custom oauth login module

I tried to append to my Askbot instance a custom login module: OAuth version 1a.

With help of this community, I got this answer (which was a great help but I cannot append the link - insufficient karma). So, as suggested I added to settings.py:

ASKBOT_CUSTOM_AUTH_MODULE = 'askbot.custom-oauth.oauth_1a'

After, I reboot my server, and opened the browser and entered /account/signin/when the browser terminated the rendering I tried my custom login and nothing happened, clicked a few more times and nothing... on the terminal the HTTP log was fine with errors, at every click I was refreshing the page (by some failed method and redirected to this page).

After checking the askbot.log I have found this message:

/home/vagrant/myaskbot/askbot/deps/django_authopenid/forms.py TIME: 2014-11-18 15:47:59,151 MSG: forms.py:clean:79 unknown provider name

So, I thought the problem was my Custom Provider, so I tried the other login providers, and the behavior maintained the same - without any kind of error or redirect to other provider login pages. I went to check the askbot.log and the previous message increased in quantity.

As, final resource, I tried to signin with my admin account and this one does not work anymore. Again without any kind of error or redirect to other pages. I went again to check the askbot.log and even the normal signin provider creates this error.

2014-11-16 10:58:57 -0500 commented answer How can I add an oauth2 custom login provider to askbot ?

There isn't any implementation of this? Not a single pull request on Github to enable OAuth?