First time here? Check out the FAQ!

Revision history  [back]

If you want to add an authentication method to the Askbot it will be necessary to modify the dictionary "data" in the function get_enabled_major_login_providers in file askbot/deps/django_authopenid/utils.py.

In general, all the authentication code is inside the directory askbot/deps/django_authopenid.

You can also create a plugin and link it via setting ASKBOT_CUSTOM_AUTH_MODEL, but you will have to also read the code to understand how to prepare the plugin as it is not documented at the moment.

If the method you are adding is openid, oauth1 or oauth2 no other changes will be necessary, otherwise you'll have to create the supporting code for the method elsewhere as well - and again you will need to wrap your head around the askbot auth module:).

Alternatively - just use documentation for the Django authentication, disable the askbot auth backend in the settings and replace with your own.

Thirdly, you can add a login backend and modify the template askbot/templates/authopenid/signin.html.

If you want to add an authentication method to the Askbot it will be necessary to modify the dictionary "data" in the function get_enabled_major_login_providers in file askbot/deps/django_authopenid/utils.py.

In general, all the authentication code is inside the directory askbot/deps/django_authopenid.

You can also create a plugin and link it via setting ASKBOT_CUSTOM_AUTH_MODEL, but you will have to also read the code to understand how to prepare the plugin as it is not documented at the moment.

If the method you are adding is openid, oauth1 or oauth2 no other changes will be necessary, otherwise you'll have to create the supporting code for the method elsewhere as well - and again you will need to wrap your head around the askbot auth module:).

Alternatively - just use documentation for the Django authentication, disable the askbot auth backend in the settings and replace with your own.

Thirdly, you can add a login backend and modify the template askbot/templates/authopenid/signin.html.

If you want to add an authentication method to the Askbot it will be necessary to modify the dictionary "data" in the function get_enabled_major_login_providers in file askbot/deps/django_authopenid/utils.py.

In general, all the authentication code is inside the directory askbot/deps/django_authopenid.

You can also create a plugin and link it via setting ASKBOT_CUSTOM_AUTH_MODEL, but you will have to also read the code to understand how to prepare the plugin as it is not documented at the moment.

If the method you are adding is openid, oauth1 or oauth2 no other changes will be necessary, otherwise you'll have to create the supporting code for the method elsewhere as well - and again you will need to wrap your head around the askbot auth module:).

Alternatively - just use documentation for the Django authentication, disable the askbot auth backend in the settings and replace with your own.

If you want to add an authentication method to the Askbot it will be necessary to modify the dictionary "data" in the function get_enabled_major_login_providers in file askbot/deps/django_authopenid/utils.py.

You can also create a plugin and link it via setting ASKBOT_CUSTOM_AUTH_MODEL, but you will have to also read the code to understand how to prepare the plugin as it is not documented at the moment.plugin.

If the method you are adding is openid, oauth1 or oauth2 no other changes will be necessary, otherwise you'll have to create the supporting code for the method elsewhere as well - and again you will need to wrap your head around the askbot auth module:).

Alternatively - just use documentation for the Django authentication, disable the askbot auth backend in the settings and replace with your own.