First time here? Check out the FAQ!

Revision history  [back]

It's better to not use the "Association" record at all, but use UserAssociation.

The UserAssociation is essentially a link between the external user id and django user. Please see how fields in the UserAssociation are used.

Also - maybe you can implement support for SAML2 and just add configuration for your UMN login system? We will merge that into Askbot core. See how OAuth2, OAuth1, OpenID are implemented and try to add support for SAML2. Thank you!

There is a function askbot.deps.django_authopenid.views.signin which handles the entry into the login system. First is the login provider type is determined and then the corresponding algorithm is followed.

When you create a user account - also create the UserAssociation record so that user can login again later.

It's better to not use the "Association" record at all, but use UserAssociation.

The UserAssociation is essentially a link between the external user id and django user. Please see how fields in the UserAssociation are used.

Also - maybe you can implement support for SAML2 and just add configuration for your UMN login system? We will merge that into Askbot core. See how OAuth2, OAuth1, OpenID are implemented and try to add support for SAML2. Thank you!

There is a function askbot.deps.django_authopenid.views.signin which handles the entry into the login system. First is the login provider type is determined and then the corresponding algorithm is followed.

When you create a user account - also create the UserAssociation record so that user can login again later.