Skip to content

MyTardis app to override default login template and use Monash specific OpenID authentication methods.

License

Notifications You must be signed in to change notification settings

monash-merc/Monash_OpenID_Login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monash OpenID Login

Adds a login view to MyTardis which allows users to log in with LDAP credentials, or using the Australian Access Federation or Google OAuth via OpenID Connect.

Store.Monash login

Installation

These instructions assume that you have installed and configured MyTardis. If you haven't please follow the instructions in the latest MyTardis documentation.

Install the latest version of the Monash_OpenID_Login app:

pip install git+https://github.com/monash-merc/Monash_OpenID_Login@master#egg=monash_openid_login

If using a virtualenv, remember to activate it first.

Add the following to your MyTardis settings file eg. /path/to/mytardis/tardis/settings.py:

Add tardis.apps.social_auth and Monash_OpenID_Login to your INSTALLED_APPS:

INSTALLED_APPS = INSTALLED_APPS + (
    'tardis.apps.social_auth',
    'monash_openid_login',
)

Also in your MyTardis settings, override the login view:

LOGIN_VIEWS = {
    1: 'monash_openid_login.views.LoginView'
}

If you need to provide custom message on Login page, please add following settings to your setting.py file.

LOGIN_PAGE_MESSAGE = "A sample message"

For more information on overriding MyTardis's login view, see: https://mytardis.readthedocs.io/en/develop/apps/contextual_views.html#custom-login-view

About

MyTardis app to override default login template and use Monash specific OpenID authentication methods.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •