ronaldooliveiradevbr / biremelogin

Changes the django's default authentication backend to authenticate in Bireme Accounts Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BIREME Login

Changes the django's default authentication backend to authenticate in Bireme Accounts Service

How to Install

  • Add biremelogin folder to your project
  • Add biremelogin to your installed apps
  • Add the code below in settings.py
  AUTHENTICATION_BACKENDS = (
    'biremelogin.authenticate.EmailModelBackend',
  )

  BIREMELOGIN_BASE_URL = "http://accounts.teste.bireme.org"
  BIREMELOGIN_SERVICE = "DIREVE"
  • Where:
    • BIREMELOGIN_BASE_URL: The API url
    • BIREMELOGIN_SERVICE: The Service that the app will be instaled

About

Changes the django's default authentication backend to authenticate in Bireme Accounts Service

License:Other


Languages

Language:Python 100.0%