OSC / ood_auth_registration

(DEPRECATED - we now use Keycloak for identity brokering) OSC OnDemand Open ID Connect CI Logon Registration page
MIT License
1 stars 1 forks source link

ood_auth_registration

OSC OnDemand Open ID Connect CI Logon Registration page

Summary:

  1. display a webform to the user, showing their DN and asking for their OSC credentials
  2. upon form submission, bind to ldap to confirm they are who they say they are
  3. if successful binding, map the HPC username to the DN using add-user-dn script that apache is given privilege to run on behalf of the user
  4. show them success.php, which then redirects the user to their final destination

Install

See directions here: https://github.com/OSC/Open-OnDemand#authentication-deploy-the-registration-page

Configuration and Branding

Edit the config.php file to change the branding of the registration and success pages. A global instance of Config is used in the php that renders these pages.

Code overview

pages:

resources: