django - user-authentication from remote site? -
i building tool, in django, client's web site.
the tool building requires users signed in existing account.
user-authentication handled legacy software on vendor's servers.
i can contact programmer wrote legacy software (i unsure of development environment), not sure ask -- hooks, api, rpc, etc. want?
is there design pattern type of situation? , features of django should use or extend make straightforward possible? remote_user sounds right thing, not sure how use in case.
i'd recommend using jquery requests. can send username , password (encrypted, of course) remote site , cookie/session key.
if have access database, i'd recommend doing that. example, if remote host using mysql, ask have view created user , can authenticate directly. approach, however, may have set mysql connection outside of settings.py.
Comments
Post a Comment